Не понимаю почему не выполняется 2 последних условия
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 q = reader.readLine();
int a = Integer.parseInt(q);
String w = reader.readLine();
int b = Integer.parseInt(w);
String e = reader.readLine();
int c = Integer.parseInt(e);
String r = reader.readLine();
int d = Integer.parseInt(r);
if (a>=b && a>=c && a>=d )
System.out.println(a);
if (b>=a&& b>=c && b>=d )
System.out.println(b);
if (a>=b && a>=c && a>=d )
System.out.println(a);
if (d>=b && d>=c && d>=a )
System.out.println(d);
}
}