An elementary school student Takahashi has come to a variety store.  He has two coins, A-yen and B-yen coins (yen is the currency of Japan), and wants to buy a toy that costs C yen. Can he buy it?  Note that he lives in Takahashi Kingdom, and may have coins that do not exist in Japan.
a,b,c=map(int,input().split())

print('Yes') if a+b<=c else print('No')
a,b,c=map(int,input().split())

print('Yes') if a+b>=c else print('No')
