Всё делает верно, но проверку не проходит, почему? 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 && c <= b){ System.out.println(b + " " + c + " " + a); } else if (b <= a && b <= c && c <= a){ System.out.println(a + " " + b + " " + c); } else if (c <= a && c <= b && a <= b){ System.out.println(b + " " + a + " " + c); } else if (b <= a && b <=c && a <= c){ System.out.println(c + " " + a + " " + b); } else if ( a <= b && b <= c && a <= c){ System.out.println(c + " " + b + " " + a); } else { System.out.println(a + " " + c + " " + b); } } }