package hello;
import java.util.Scanner;
public class ahh {
public static void main(String[] args) {
String regex = "(13[0-9]|15[0123456789]||18[056789])\\d{8}";
while(true) {
String phone = sc.nextLine();
if(phone.matches(regex)) {
System.out.println("It is true");
}else {
System.out.println("It is false");
}
}
}
}