Подскажите что не правильно в коде? Не проходит последний пункт проверки. import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) throws Exception { 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()); int max1=MAX(MAX(a,b),c); int min1=MIN(MIN(a,b),c); int mid; if (a!=max1 && a!=min1) mid=a; else if (b!=max1 && b!=min1) mid=b; else mid=c; System.out.println(max1+" "+mid+" "+min1); } public static int MAX(int a, int b){ if (a>b) return a; else return b; } public static int MIN(int a, int b){ if (a<b) return a; else return b; } }