public void solve() throws IOException {
    Random a = new Random(System.currentTimeMillis());
    for (int x = 0; x < 99; x++) {
      System.out.print(100);
      switch (a.nextInt(4)) {
      case 0: System.out.println(" L"); break;
      case 1: System.out.println(" R"); break;
      case 2: System.out.println(" U"); break;
      case 3: System.out.println(" D"); break;
      }
    }
  }