Не пойму почему не проходит проверку №4.
Возможно код длинный, но проверку 4-х чисел проходит
package com.javarush.task.task04.task0419;
/*
Максимум четырех чисел
*/
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));
String sOne = reader.readLine();
String sTho = reader.readLine();
String sThree = reader.readLine();
String sFour = reader.readLine();
int one = Integer.parseInt(sOne);
int tho = Integer.parseInt(sTho);
int three = Integer.parseInt(sThree);
int four = Integer.parseInt(sFour);
if(one < four & tho < four & three < four){
System.out.println(four);
}
else if(one < three & tho < three & four < three){
System.out.println(three);
}
else if(one < tho & three < tho & four < tho){
System.out.println(tho);
}
else if(tho < one & three < one & four < one){
System.out.println(one);
}
else if(one == tho & tho == three & three == four){
System.out.println(one);
}
else if(one < tho & tho == three & three == four){
System.out.println(four);
}
else if(tho < one & one == three & three == four){
System.out.println(four);
}
else if(three < one & one == tho & tho == four){
System.out.println(four);
}
else if(four < one & one == tho & tho == three){
System.out.println(three);
}
else if(one == tho || one == three || one == four){
System.out.println(one);
}
else if(tho == three || tho == four){
System.out.println();
}
else if(three == four){
System.out.println(three);
}
}
}