
public class Balls {

   enum Color {green, red};
   
   public static void main (String[] param) {
      // for debugging
   }
   
   public static void reorder (Color[] balls) {
      // TODO!!! Your program here
   }
}

