авп
package com.javarush.task.pro.task04.task0409;
import java.util.Scanner;
/*
Минимум из введенных чисел
*/
public class Solution {
public static void main(String[] args) {
Scanner dd = new Scanner(System.in);
int gg = Integer.MAX_VALUE;
while (dd.hasNextInt()) {
int f = dd.nextInt();
if (f < gg)
f = gg;
System.out.println(f);
}
}
}