public static void main(String[] args) throws Exception {
   PrintStream out = System.out;
   out.println(test(10000));
 }
 private static void doPrint(int n) {
   PrintStream out = System.out;
   for (int i = 0; i < n; i++) {
     out.print('x');
   }
 }