BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
           int a = Integer.parseInt(reader.readLine());
           int b = Integer.parseInt(reader.readLine());
           int c = Integer.parseInt(reader.readLine());

           System.out.println(max(a, b, c) + " " + midl(a, b, c) + " " + min(a, b, c));
   }

   private static int max(int a, int b, int c) {
       if (a >= b || a >= c) return b;
       else if (b >= a || b >= c) return c;
       else return a;
   }

   private static int midl(int a, int b, int c) {
       if (a >= b || b >= c) return a;
       else if (b >= a || a >= c) return b;
       else return c;
   }

   private static int min(int a, int b, int c) {
       if (a >= b || c >= b) return a;
       else if (b >= a || c >= a) return c;
       else return b;
Не хочет ни в какую проходить тестирование, кто что скажет?