import org.apache.commons.lang.ArrayUtils;
public class Main {
public static void main(String[] args) {
String[] colors = { "Red", "Green", "Blue", "Cyan", "Yellow", "Magenta" };
System.out.println(ArrayUtils.toString(colors));
ArrayUtils.reverse(colors);
System.out.println(ArrayUtils.toString(colors));
}
}