Import java.util.Scanner;
public class MyProg {
public static void main (String[] args) {
Scanner s = new Scanner(System.in);
System.out.print("Введите число: ");
int n = s.nextInt();
if (n<1000 && n>99 && n%5==0)
{
System.out.print("true");
}
else
{
System.out.print("false");
}
}
}