inp = input() split_first = inp.split(' ') Y = int(split_first[0]) M = int(split_first[0]) D = int(split_first[0]) def hantei(Y,M,D): if (1989Y and Y>2019): print('No') elif (Y==1984 and 1