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