Problem:


Score : 100 points

Problem Statement

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 1

50 100 120

Sample Output 1

Yes

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

Sample Input 2

500 100 1000

Sample Output 2

No

He has 500 + 100 = 600 yen, but he cannot buy the 1000-yen toy.

Sample Input 3

19 123 143

Sample Output 3

No

There are 19-yen and 123-yen coins in Takahashi Kingdom, which are rather hard to use.

Sample Input 4

19 123 142

Sample Output 4

Yes



Sample input:
50 100 120


Sample output:
Yes

Submission status: Accepted

Solution code:
A = list(map(int, input().split()))
if(A[0] + A[1] >= A[2]):
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#__author__ = "tatuo"
#__date__ = "$Mar 3, 2018 12:34:20 PM$"

import math
import re
import sys


def getinputdata():

    # 配列初期化
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result




arr_data = getinputdata()

a=int(arr_data[0][0])
b=int(arr_data[0][1])
c=int(arr_data[0][2])

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

Submission status: Accepted

Solution code:
# -*- coding:utf-8 -*-
if __name__ == "__main__":
    a, b, c = map(int, input().split())
    if c <= a+b:
        print("Yes")
    else:
        print("No")

Submission status: Accepted

Solution code:
from sys import stdin

A, B, C = [int(w) for w in stdin.readline().split()]
print("Yes" if A + B >= C else "No")

Submission status: Accepted

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

total = (a + b)

if total >= c:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
nums = list(map(int, input().split())) 

           
if nums[0]+nums[1] >= nums[2]:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#abc091a

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(['No','Yes'][eval(input().replace(' ','+',1).replace(' ','>='))])

Submission status: Accepted

Solution code:
A,B,C = [int(i) for i in input().split()]
print("Yes") if A + B >= C else print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B, C = [int(n) for n in input().split()]

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

Submission status: Accepted

Solution code:
num = list(map(lambda x:int(x), input().split()))
if (num[0] + num[1]) >= num[2]:
	print("Yes")
else:
	print("No")

Submission status: Accepted

Solution code:
a, b, c = (int(x) for x in input().split())
print('Yes' if a+b >= c else 'No')

Submission status: Accepted

Solution code:
a = [int(i) for i in input().split(' ')]
if a[0] + a[1] >= a[2]:
  print('Yes')
else:
  print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    A, B, C = map(int, input().split())

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

main()

Submission status: Accepted

Solution code:
param = input()

param = param.split()

a_coin = int(param[0])
b_coin = int(param[1])
goods = int(param[2])

if (a_coin + b_coin) >= goods:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
# -*- Coding: utf-8 -*-
A,B,X=map(int,input().split())
C=A+B
if C>=X:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
a=map(int,raw_input().split())
if a[0]+a[1] >= a[2]:
	print("Yes")
else:
	print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = [int(x) for x in input().split(' ')]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A, B, C = [int(x) for x in input().strip().split()]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split(" "))

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

Submission status: Accepted

Solution code:
def main():
    A,B,C =list(map(int,input().split()))
    if(C <=(A+B)):
        print("Yes")
    else:
        print("No")



if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())		# 5 7 2

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

Submission status: Accepted

Solution code:
a, b, c = (int(i) for i in input().split())  
if (a + b >= c):
    print("Yes")
elif (a + b < c):
    print("No")

Submission status: Accepted

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

if A+B>=C :
    result = "Yes"
else :
    result = "No"

print(result)

Submission status: Accepted

Solution code:
s =input("")
s = s.split()
s=list(map(int, s))
if s[2] <= s[0]+s[1]:
    print("Yes")
elif s[2] > s[0]+s[1]:
    print("No")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
lista=input().split()
a=int(lista[0])
b=int(lista[1])
c=int(lista[2])
if a+b>=c:
  print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
abc=input().split(" ")
a=int(abc[0])
b=int(abc[1])
c=int(abc[2])
if a+b>=c:
	print("Yes")
else:
	print("No")

Submission status: Accepted

Solution code:
#coding=utf-8

def solve(a, b, c):
    return a + b >= c;

if __name__ =='__main__':
    a, b, c = list(map(lambda x: int(x), input().split()))
    if solve(a, b, c):
        print('Yes')
    else:
        print('No')

Submission status: Accepted

Solution code:
#coding:utf-8
a,b,c = list(map(int, input().split()))
if a+b >= c:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
ns = [int(n) for n in input().split(' ')]
if ns[0] + ns[1] >= ns[2]:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
A,B,C = input().split()
A,B,C=[int(A),int(B),int(C)]

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

Submission status: Accepted

Solution code:
s=input().split()
if (int(s[0])+int(s[1]))>=int(s[2]):
  print('Yes')
else:
  print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = [int(i) for i in input().split()]
if a + b >= c:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
line = input()
line = line.split(' ')
a, b, item = [int(line[0]), int(line[1]), int(line[2])]
if a+b >= item:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
d = a + b
if d >= c :
     print('Yes')
else :
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
inp = list(map(int, input().split()))

A = inp[0]
B = inp[1]
C = inp[2]

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

Submission status: Accepted

Solution code:
A, B, C = [int(i) for i in input().split()]

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

Submission status: Accepted

Solution code:
def main():
    a, b, c = map(int, input().split())
#    print(a, b, c)
    if(a + b >= c):
        print("Yes")
    else:
        print("No")
    
if __name__=="__main__":
    main()

Submission status: Accepted

Solution code:
import sys


def main():
    A, B, C = [int(x) for x in sys.stdin.readline().split()]
    if C <= A + B:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B,C = [int(i) for i in input().split()]
if A+B >= C:
  print('Yes')
else:
  print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = (int(i) for i in input().split())
print('Yes') if c <= a+b else print('No')

Submission status: Accepted

Solution code:
def main():
	a,b,c = map(int,input().split())
	if a + b < c:
		print("No")
	else:
		print("Yes")
if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a = input().split()
a = [int(i) for i in a]
if a[0] + a[1] >= a[2]:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
def abc091_a():
    _instr = str(input()).split()
    _a = int(_instr[0])
    _b = int(_instr[1])
    _c = int(_instr[2])
    if _a + _b >= _c:
        print("Yes")
    else:
        print("No")

abc091_a()

Submission status: Accepted

Solution code:
# coding: utf-8
A, B, C = list(map(int, input().split()))

ans = A+B

if ans >= C:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
a = list(map(int, input().split()))
if a[0] + a[1] >= a[2]:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:

moneys = raw_input()

moneys_splitted = moneys.split()

if int(moneys_splitted[0]) + int(moneys_splitted[1]) >= int(moneys_splitted[2]):
	print 'Yes'
else:
	print 'No'

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

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


if __name__=='__main__':
    main()

Submission status: Accepted

Solution code:
STR = input().split()

A = int(STR[0])
B = int(STR[1])
C = int(STR[2])

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

Submission status: Accepted

Solution code:
c1, c2, v = map(int, input().split(' '))
if c1 + c2 >= v:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

if a + b >= c:
    ans = 'Yes'
else:
    ans = 'No'

print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    a, b, c = map(int, input().split())

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

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
print(['No','Yes'][a+b>=c])

Submission status: Accepted

Solution code:
# -- coding: utf-8 --
A, B, C = map(int, input().split(' '))
if C <= A + B:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
S = input().split()
A = int(S[0])
B = int(S[1])
C = int(S[2])
if A+B >= C:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

Submission status: Accepted

Solution code:
def ketanowa(p):
    ans=0
    p=str(p)
    for i in p:
        ans+=int(i)
    return ans

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


    

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b,c = (int(i) for i in input().split())
if a+b<c: print("No")
else: print("Yes")

Submission status: Accepted

Solution code:
# coding: utf-8

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

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

Submission status: Accepted

Solution code:
ABC_list = input().split(' ')
A = int(ABC_list[0])
B = int(ABC_list[1])
C = int(ABC_list[2])
if A+B >= C:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
A,B,C = map(int,input().split())
ans=A+B
if ans < C:
    print("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:
n = str(input()).split()
a = int(n[0])
b = int(n[1])
c = int(n[2])
if c <= a + b:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

# AtCoder Beginner Contest
# Problem A

if __name__ == '__main__':
    A, B, C = list(map(int, input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
GI = lambda: int(input()); GIS = lambda: map(int, input().split()); LGIS = lambda: list(GIS())

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

main()

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

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

Submission status: Accepted

Solution code:

inp = [int(i) for i in input().split()]

if inp[0] + inp[1] < inp[2]:
    print("No")
else:
    print("Yes")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = [int(i) for i in input().split()]
if a+b >= c:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input().split()
A=int(a[0])
B=int(a[1])
C=int(a[2])

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    A, B, C = map(int, input().split())

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
A,B,C=map(int,input().split())
if A+B<C:
    print("No")
else:
    print("Yes")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = [int(x) for x in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B, C = input().split()
A, B, C = int(A), int(B), int(C)

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
def get_read_func(fileobject):
    if fileobject == None :
        return raw_input
    else:
        return fileobject.readline

def main():
    if len(sys.argv) > 1:
        f = open(sys.argv[1])
    else:
        f = None
    read_func = get_read_func(f);
    input_raw = read_func().strip().split()
    [A, B, C] = [int(input_raw[0]), int(input_raw[1]), int(input_raw[2])]
    if A + B >= C:
        print "Yes"
    else:
        print "No"

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
A - Two Coins
https://beta.atcoder.jp/contests/abc091/tasks/abc091_a

"""
import sys
from sys import stdin
input = stdin.readline


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


if __name__ == '__main__':
    main(sys.argv[1:])

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
print(['No','Yes'][(a+b)>=c])

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    a, b, c = [int(v) for v in input().split()]
    if a + b >= c:
        print("Yes")
    else:
        print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input().split()
A = int(S[0])
B = int(S[1])
C = int(S[2])
a = 'No'
if C <= A + B:
    a = 'Yes'
print(a)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
data = input()
data = data.split(" ")
a = int(data[0])
b = int(data[1])
c = int(data[2])
if a + b >= c:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
from collections import defaultdict
from pprint import pprint as pp

rs = lambda: input()
ri = lambda: int(input())
ria = lambda: list(map(int, input().split()))
rian = lambda n: [ria() for _ in range(n)]

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

Submission status: Accepted

Solution code:
a,b,c = [int(i) for i in input("").split(" ")]
print("Yes" if a+b>=c else "No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = [int(i) for i in input().split()]

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

Submission status: Accepted

Solution code:
input_lines = list(map(int, input().split()))

if (input_lines[0]+input_lines[1])>=input_lines[2]:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
line = list(map(int, input().split(" ")))

if line[2] <= line[0]+line[1]:
    ans = "Yes"
else:
    ans = "No"
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l=list(map(int,input().split()))
print(["No","Yes"][l[0]+l[1]>=l[2]])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = [int(i) for i in input().split()]
if a+b>=c:
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
m, n, l = map(int, input().split())
print("Yes" if m+n >= l else "No")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A, B, C = [int(_) for _ in input().split()]

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A, B, C = map(int, input())
print('Yes' if A+B*2 >= C else 'No')

Submission status: Runtime Error

Solution code:
n = int(input())
reds = sorted([list(map(int,input().split())) for i in range(n)] key = lambda reds: -reds[1])
blues = sorted([list(map(int,input().split())) for i in range(n)])

res = 0

for c,d in blues:
  for a,b in reds:
    if a<c and b<d:
      reds.remove([a,b])
      res+=1
      break
      
print(res)

Submission status: Runtime Error

Solution code:
N = int(input())
reds = sorted([list(map(int,input().split())) for i in range(n)])
blues = sorted([list(map(int,input().split())) for i in range(n)])

reds.sort(reverse = True)
res = 0

for c,d in blues:
  for a,b in reds:
    if a<c and b<d:
      reds.remove([a,b])
      res+=1
      break
      
print(res)

Submission status: Runtime Error

Solution code:
n = int(input())
s = [input() for i in range(n)]
m = int(input())
t = [input() for i in range(m)]

k = set(s)
tot = 0
for i in k:
  tot = max(s.count(i) - t.count(i),tot)
  
print(tot)

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;

int main(){
  int a , b , c;
  cin >> a;
  cin >> b;
  cin >> c;
  if ((a + b) >= c){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
}

Submission status: Runtime Error

Solution code:
a = int(import().split(" "))
if (a[0] + a[1] ) >= a[2]:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
from itertools import permutations

if __name__ == '__main__':
    N = int(input())
    RED = []
    BLUE = []

    for _ in range(N):
        a, b = map(int, input().split())
        RED.append((a, b))

    for _ in range(N):
        c, d = map(int, input().split())
        BLUE.append((c, d))

    AB = list(range(N))
    CD = list(range(N))
    ans = 0
    for ab in permutations(AB):
        for cd in permutations(CD):
            size = 0
            for i in range(N):
                red = RED[ab[i]]
                blue = BLUE[cd[i]]
                if red[0] < blue[0] and red[1] < blue[1]:
                    size += 1
            ans = max(ans, size)
    print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input())
blue = list()
for i in range(n):
    blue.append(input())
m = int(input())
red = list()
for j in range(m):
    red.append(input())
ans = 0
for p in range(n):
    cnt = 0
    for q in range(n):
        if blue[p] == blue[q]:
            cnt += 1
    for r in range(m):
        if blue[p] == red[r]:
            cnt -= 1
    ans = max(ans, cnt)
print(ans)

Submission status: Runtime Error

Solution code:
A, B, C = map(int, input())

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

Submission status: Runtime Error

Solution code:
n=int(input())
ans=0
count=0
s={}
t={}
for i in range(n):
  a=input()
  if a not in s:
    s[a]=1
  else:
    s[a]+=1
m=int(input())
for i in range(m):
  a=input()
  if a not in t:
    t[a]=1
  else:
    t[a]+=1
    
S=list(s.keys())
T=list(t.keys())
for i in range(len(S)):
  if S[i] in T:
    count=s[S[i]]-t[S[i]]
  else: count=s[S[i]]
  ans=max(ans,count)
  
print(ans)

Submission status: Runtime Error

Solution code:
n=int(input())
red=[[] for i in range(n)]
blue=[[] for i in range(n)]
for i in range(n):
    a,b=map(int,input().split())
    red[i].append(a)
    red[i].append(b)
for i in range(n):
    a,b=map(int,input().split())
    blue[i].append(a)
    blue[i].append(b)
red=sorted(red)
blue=sorted(blue)
ans=0
for i in range(n):
    x=blue[i][0]
    y=blue[i][1]
    maxy=-1
    for j in range(n):
        if x>red[j][0] and y>red[j][1]:
            maxy=max(maxy,red[j][1])
    for j in range(n):
        if x>red[j][0] and maxy==red[j][1]:
            ans+=1
            red[j][0]=1000
            break
print(ans)

Submission status: Runtime Error

Solution code:
a, b, c = int(input())
if a +  b >= c:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
blue=int(input())
b=[]
r=[]
count=[]
for i in range(blue):
  b.append(input())
red=int(input())
for i in range(red):
  r.append(input())
for i in b:
  count.append(b.count(i)-r.count(i))
if max(count)<0:
  print(0)
else:
  print(max(count))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A, B, C = map(int, input())
print('Yes' if A+2*B >= C else 'No')

Submission status: Runtime Error

Solution code:
N=int(input())
plus=[input() for i in range(N)]
M=int(input())
minus=[input() for i in range(M)]
S=list(set(plus+minus))
ans=0
for i in S:
    point=0
    point=plus.count(i)-minus.count(i)
    ans=max(ans,point)
print(ans)

Submission status: Runtime Error

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

a, b = map(int, readline().split())
print(a*b)

Submission status: Runtime Error

Solution code:
A =[input() for i in range(3)]
if A[0]+A[1]>=A[2]:
    print('Yes')
else:
    print('No')