В чём ошибка?
package com.javarush.task.task04.task0420;
import java.io.*;
/*
Сортировка трех чисел
*/
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(buf.readLine());
int b = Integer.parseInt(buf.readLine());
int c = Integer.parseInt(buf.readLine());
if (a > b && a > c && b > c)
System.out.println(a + " " + b + " " + c);
else if (a > b && a > c && c > b)
System.out.println(a + " " + c + " " + b);
else if (b > a && b > c && a > c)
System.out.println(b + " " + a + " " + c);
else if (b > a && b > c && c > a)
System.out.println(b + " " + c + " " + a);
else if (c > a && c > b && a > b)
System.out.println(c + " " + a + " " + b);
else if (c > a && c > b && b > a)
System.out.println(c + " " + b + " " + a);
}
}