If someone could review my code and give me a few pointers that would be ~FABULOUS~
package com.codegym.task.task04.task0419;
/*
Maximum of four numbers
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(br.readLine());
int b = Integer.parseInt(br.readLine());
int c = Integer.parseInt(br.readLine());
int d = Integer.parseInt(br.readLine());
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 > d && c > a && c > b){
System.out.println(c);
}
else if (d > a && d > b && d > c) {
System.out.print(d);
}
else if (a < b){
a = b;
}
else if (a < c){
a = c;
}
else if (a < d){
a = d;
}
System.out.print(a);
}
}