Debug
package com.codegym.task.task04.task0419;
/*
Maximum of four numbers
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
String s = x.readLine();
int a = Integer.parseInt(s);
int b = Integer.parseInt(s);
int c = Integer.parseInt(s);
int d = Integer.parseInt(s);
if ((b>=a) && (b>=c) && (b>=d)) {
System.out.println(b);
}
//For c
else if ((c>=a) && (c>=b) && (c>=d)) {
System.out.println(c);
}
//For d
else if ((d>=a) && (d>=c) && (d>=b)) {
System.out.println(d);
}
//For a And Same Value
else {
System.out.println(a);
}
}
}