Решил но проверку не могу пройти
package com.javarush.task.pro.task04.task0408;
import java.util.Scanner;
/*
Максимум из введенных чисел
*/
public class Solution {
public static void main(String[] args) {
//напишите тут ваш код
Scanner console = new Scanner(System.in);
int input = 0;
int max = 0;
while(console.hasNextInt()){
input = console.nextInt();
if(input%2 == 0){
if(max != 0){
if(max <= input){
max = input;
}
}else{
max = input;
}
}
}
if(((input == 0) || (input%2 != 0)) && (max == 0)){
max = Integer.MIN_VALUE;
}
System.out.println(max);
}
}