题解 | #牛牛的计划#
牛牛的计划
https://www.nowcoder.com/practice/cf956ceef9f84f7393a0b7284fdbf95a
y,m,d = map(int,input().split()) y1,m1,d1 = map(int,input().split()) if y < y1: print('yes') elif y > y1: print('no') else: if m < m1: print('yes') elif m > m1: print('no') else: if m > m1: print('no') else: print('yes')#题解#