Language: Java

import java.io.*;
public class Main {
????????public static void main(String args[]) throws IOException{
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
????????????????StringBuilder builder = new StringBuilder();
????????????????while(true){
????????????????????????String data[] = reader.readLine().split(" ");
????????????????????????int a= Integer.parseInt(data[0]);
????????????????????????int b= Integer.parseInt(data[1]);
????????????????????????if(a==0 && b==0)
????????????????????????????????break;
????????????????????????????
????????????????????????builder.append(Integer.toString(a<b?a:b)).append(" ").append(Integer.toString(a<b?b:a)).append("\n");
????????????????}
????????????????System.out.print(builder);
????????}
}

Compiler output:
Main.java:3: error: illegal start of type
????????public static void main(String args[]) throws IOException{
^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
 ^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
  ^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
   ^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    ^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
     ^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
      ^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
       ^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        ^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
         ^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
          ^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
           ^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            ^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
             ^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
              ^
Main.java:4: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
               ^
Main.java:4: error: : expected
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
                              ^
Main.java:4: error: : expected
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
                                                                                            ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
 ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
  ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
   ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
    ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
     ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
      ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
       ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
        ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
         ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
          ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
           ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
            ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
             ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
              ^
Main.java:5: error: illegal start of expression
????????????????StringBuilder builder = new StringBuilder();
               ^
Main.java:5: error: : expected
????????????????StringBuilder builder = new StringBuilder();
                             ^
Main.java:5: error: : expected
????????????????StringBuilder builder = new StringBuilder();
                                                           ^
Main.java:6: error: illegal start of expression
????????????????while(true){
^
Main.java:6: error: illegal start of expression
????????????????while(true){
 ^
Main.java:6: error: illegal start of expression
????????????????while(true){
  ^
Main.java:6: error: illegal start of expression
????????????????while(true){
   ^
Main.java:6: error: illegal start of expression
????????????????while(true){
    ^
Main.java:6: error: illegal start of expression
????????????????while(true){
     ^
Main.java:6: error: illegal start of expression
????????????????while(true){
      ^
Main.java:6: error: illegal start of expression
????????????????while(true){
       ^
Main.java:6: error: illegal start of expression
????????????????while(true){
        ^
Main.java:6: error: illegal start of expression
????????????????while(true){
         ^
Main.java:6: error: illegal start of expression
????????????????while(true){
          ^
Main.java:6: error: illegal start of expression
????????????????while(true){
           ^
Main.java:6: error: illegal start of expression
????????????????while(true){
            ^
Main.java:6: error: illegal start of expression
????????????????while(true){
             ^
Main.java:6: error: illegal start of expression
????????????????while(true){
              ^
Main.java:6: error: illegal start of expression
????????????????while(true){
               ^
Main.java:6: error: illegal start of expression
????????????????while(true){
                ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
 ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
  ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
   ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
    ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
     ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
      ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
       ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
        ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
         ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
          ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
           ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
            ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
             ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
              ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
               ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
                ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
                 ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
                  ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
                   ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
                    ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
                     ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
                      ^
Main.java:7: error: illegal start of expression
????????????????????????String data[] = reader.readLine().split(" ");
                       ^
Main.java:7: error: : expected
????????????????????????String data[] = reader.readLine().split(" ");
                              ^
Main.java:7: error: '.class' expected
????????????????????????String data[] = reader.readLine().split(" ");
                                      ^
Main.java:7: error: : expected
????????????????????????String data[] = reader.readLine().split(" ");
                                                                    ^
Main.java:8: error: illegal start of expression
???????????????????????