package main import . "fmt" func main() { var y,m,d int64 Scan(&y,&m,&d) d+=y*10000+m*100 if 19890108<=d&&d<=20190430 { Println("Yes") } else { Println("No") } }