/* Минимум из введенных чисел */ public class Solution { public static void main(String[] args) { //напишите тут ваш код Scanner console = new Scanner(System.in); int min = Integer.MAX_VALUE; // Не понимаю, почему пришлось здесь использовать не Integer.MAX_VALUE, а Integer.MAX_VALUE? while (console.hasNextInt()) { int x = console.nextInt(); if (x < min) { min = x; } } System.out.println(min); } }