public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String read = null;// 19041520.072
while ((read = scan.nextLine()) != null) {
System.out.println(read.matches("[0-9]{8}\\.[0-9]{3}"));
}
scan.close();
}
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String read = null;// 19041520.072
while ((read = scan.nextLine()) != null) {
System.out.println(read.matches("[0-9]{8}\\.[0-9]{3}"));
}
scan.close();
}