Help me, please...
package en.codegym.task.pro.task04.task0408;
import java.util.Scanner;
/*
Maximum of entered numbers
*/
public class Solution {
public static void main(String[] args) {
Scanner console = new Scanner(System.in);
int max = 0;
while(console.hasNextInt()){
int x = console.nextInt();
if(x > max) max = x;
}
System.out.println(max);
}
}