BC72 牛牛的计划

思路:

step1:输入两行数字;
step2:判断并打印对应结果;

代码如下:

a1,b1,c1 = list(map(int,input().split()))
a2,b2,c2 = list(map(int,input().split()))
if a2 < a1 or (a2 == a1 and b2 < b1) or (a2 == a1 and b2 == b1 and c2 < c1):
    print('no')
else:
    print('yes')