Помогите пожалуйста.
package com.javarush.task.task04.task0419;
/*
Максимум четырех чисел
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//напишите тут ваш код
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String k = reader.readLine();
String l = reader.readLine();
String n = reader.readLine();
String m = reader.readLine();
int a = Integer.parseInt(k);
int b = Integer.parseInt(l);
int c = Integer.parseInt(n);
int d = Integer.parseInt(m);
if(a == b & a == c & a == d)
System.out.println(a | b | c | d);
else if(a == b & a == c & a > d)
System.out.println(a | b | c);
else if(a == b & a > c & a > d)
System.out.println(a | b);
else if(a > b & a > c & a > d)
System.out.println(a);
else if(b > a & b > c & b > d)
System.out.println(b);
else if(c > a & c > b & c > d)
System.out.println(c);
else if(d > a & d > b & d > c)
System.out.println(d);
}
}