подскажите, пожалуйста, в чем проблема
package com.javarush.task.pro.task04.task0409;
import java.util.Scanner;
/*
Минимум из введенных чисел
*/
public class Solution {
public static void main(String[] args) {
//напишите тут ваш код
Scanner scanner = new Scanner(System.in);
int min = Integer.MAX_VALUE;
while (scanner.hasNextInt());
{
int x = scanner.nextInt();
if (x < min);
{ min = x;
}
}
System.out.println(min);
}
}