Tmp = []

Tmp = input().rstrip().split(' ')





X = int(Tmp[0])

Y = int(Tmp[1])

C = int(Tmp[2])



Ans = X + Y

if Ans >= C:

    print('Yes')

else:

    print('No')

A, B, C=list(map(int,input().split()))



A += B



if A >= C:

  print('Yes')

else:

  print('No')

Tmp = []
Tmp = input().rstrip().split(" ")
X = int(Tmp[0])
Y = int(Tmp[1])
C = int(Tmp[2])
Ans = X + Y
if Ans >= C:
    print("Yes")
else:
    print("No")

A, B, C = list(map(int, input().split()))
A += B
if A >= C:
    print("Yes")
else:
    print("No")

-Tmp = [] -Tmp = input().rstrip().split(" ") -X = int(Tmp[0]) -Y = int(Tmp[1]) -C = int(Tmp[2]) -Ans = X + Y -if Ans >= C: +A, B, C = list(map(int, input().split())) +A += B +if A >= C: