В подсказке пишет проверить работу с отрицательными числами. Проверяю все работает
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);
if (!(console.hasNextInt()))
System.out.println(Integer.MIN_VALUE);
else {
int maxchet = console.nextInt();
while(console.hasNextInt()) {
int x = console.nextInt();
if (x%2 == 0 && maxchet < x)
maxchet = x;
else
continue;
}
if (maxchet%2 == 0)
System.out.println(maxchet);
else
System.out.println(Integer.MIN_VALUE);
}//напишите тут ваш код
}
}