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.

-----Constraints-----
 - All input values are integers.
 - 1 \leq A, B \leq 500
 - 1 \leq C \leq 1000

-----Input-----
Input is given from Standard Input in the following format:
A B C

-----Output-----
If Takahashi can buy the toy, print Yes; if he cannot, print No.

-----Sample Input-----
50 100 120

-----Sample Output-----
Yes

He has 50 + 100 = 150 yen, so he can buy the 120-yen toy.

Difficulty: introductory

Starter code:

Solutions:
a,b,c = map(int,input().split())
print("Yes" if a + b >= c else "No")

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

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

a,b,c = map(int,input().split())
if a+b >= c:
  print("Yes")
else:
  print("No")

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


a=input().split()
a=[int(i) for i in a]
if sum(a[:2]) >= a[2]:
    print("Yes")
else:
    print("No")

#
# abc091 a
#
import sys
from io import StringIO
import unittest


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """50 100 120"""
        output = """Yes"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """500 100 1000"""
        output = """No"""
        self.assertIO(input, output)

    def test_入力例_3(self):
        input = """19 123 143"""
        output = """No"""
        self.assertIO(input, output)

    def test_入力例_4(self):
        input = """19 123 142"""
        output = """Yes"""
        self.assertIO(input, output)


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

    if A+B >= C:
        print("Yes")
    else:
        print("No")


def __starting_point():
    # unittest.main()
    resolve()

__starting_point()

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

a,b,c=map(int,input().split())
if a+b>=c:
    print("Yes")
else:
    print("No")

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

a,b,c=map(int,input().split())

if a+b>=c:
    ans="Yes"
else:
    ans="No"
print(ans)

n,m,c = [int(x) for x in input().split()]
if n + m >= c:
  print("Yes")
else:
  print("No")

a,b,c=map(int,input().split())

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

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

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


def LI():
    return list(map(int, input().split()))


A, B, C = LI()
if A+B >= C:
    ans = "Yes"
else:
    ans = "No"
print(ans)


a, b, c = map(int, input().split())

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

def main():
    A, B, C = list(map(int, input().split()))
    print(('Yes' if A + B - C >= 0 else 'No'))


def __starting_point():
    main()

__starting_point()

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

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

a, b, c = list(map(int, input().split()))
if a + b >= c:
    print("Yes")
else:
    print("No")


import bisect, collections, copy, heapq, itertools, math, string, sys
input = lambda: sys.stdin.readline().rstrip() 
sys.setrecursionlimit(10**7)
INF = float('inf')
def I(): return int(input())
def F(): return float(input())
def SS(): return input()
def LI(): return [int(x) for x in input().split()]
def LI_(): return [int(x)-1 for x in input().split()]
def LF(): return [float(x) for x in input().split()]
def LSS(): return input().split()

def resolve():
    A, B, C = LI()

    if A + B >= C:
        print('Yes')
    else:
        print('No')

def __starting_point():
    resolve()

__starting_point()

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

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

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

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

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

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

if A+B >= C:
  print("Yes")
else:
  print("No")

#!/usr/bin/env python3

a, b, c = list(map(int, input().split()))

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


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

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


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

a,b,c=list(map(int,input().split()))
if a+b>=c:
  print("Yes")
else:
  print("No")


a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
if a+b>=c:
  print("Yes")
else:
  print("No")

a, b, c = map(int,input().split())
if a+b>=c:
    print("Yes")
else:
    print("No")

A, B, C = map(int, input().split())
print("YNeos"[A+B<C::2])

a,b,c = map(int,input().split())

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

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


a,b,c=map(int,input().split())
if a+b>=c:
  print("Yes")
else:
  print("No")

a_coin, b_coin, price = map(int, input().split())

if a_coin + b_coin >= price:
    print('Yes')
else:
    print('No')

a,b,c = map(int, input().split())
if a+b>=c:
    print("Yes")
else:
    print("No")

a,b,c=map(int,input().split())
if a+b>=c:
  print("Yes")
else:
  print("No")

a,b,c=map(int,input().split(" "))
print(["No","Yes"][a+b>=c])

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

if A + B >= C:
  print('Yes')
else:
  print('No')

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

a, b, c = list(map(int, input().split()))
if a + b >= c:
    print("Yes")
else:
    print("No")


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

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

from sys import stdin
nii=lambda:map(int,stdin.readline().split())
lnii=lambda:list(map(int,stdin.readline().split()))

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

a,b,c=map(int,input().split())
if a+b>=c:
  print("Yes")
else:
  print("No")

a,b,c=map(int,input().split())
if a+b>=c:
    print("Yes")
else:
    print("No")

a, b, c = map(int, input().split())

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

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

a,b,c=map(int,input().split())
print(["Yes","No"][a+b<c])

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

a, b, c = list(map(int, input().split()))

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


a,s,d=map(int, input().split())
print('Yes' if a+s>=d else 'No')

def mapt(fn, *args):
    return tuple(map(fn, *args))


def Input():
    return mapt(int, input().split(" "))


def main():
    a, b, c = Input()
    if a + b >= c:
        print("Yes")
    else:
        print("No")


main()

a,b,c = map(int,input().split())
if a+b >= c:
    print("Yes")
else:
    print("No")

a,b,c=map(int,input().split())
if a+b>=c:
    print("Yes")
else:
    print("No")

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

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

a, b, c = map(int, input().split())

if a + b < c:
    print('No')
else:
    print('Yes')

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

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


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

if A + B >= C:
    print('Yes')
else:
    print('No')

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

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


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

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

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


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

a,b,c=map(int, input().split())
if a+b>=c:
    print("Yes")
else:
    print("No")

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


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

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

if A+B>=C:
    print("Yes")
else:
    print("No")

a, b,c = map(int, input().split())
if a+b >=c:
    print('Yes', flush=True)
else:
    print('No', flush=True)


a, b, c = list(map(int, input().split()))

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


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

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

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

a,b,c = map(int,input().split())

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

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

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

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

a,b,c=map(int,input().split())

if a+b<c:
  print("No")
else:
  print("Yes")

a,b,c = map(int,input().split())

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

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

a,b,c=map(int,input().split())
if a+b>=c:
  print("Yes")
else:
  print("No")

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

a,b,c = map(int,input().split())
if a+b>=c:
    print("Yes")
else:
    print("No")

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

a,b,c = list(map(int,input().split()))
print(("Yes" if a+b >= c else "No"))


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

if A + B >= C:
    print('Yes')
else:
    print('No')

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

def resolve():
    a, b, c = map(int, input().split())
    if c <= a+b:
        print("Yes")
    else:
        print("No")
resolve()

a, b, c = map(int,input().split())

if a + b < c:
    print("No")
else:
    print("Yes")

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","No"][A+B<C])

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