Problem:


Score : 100 points

Problem Statement

Two students of AtCoder Kindergarten are fighting over candy packs.

There are three candy packs, each of which contains a, b, and c candies, respectively.

Teacher Evi is trying to distribute the packs between the two students so that each student gets the same number of candies. Determine whether it is possible.

Note that Evi cannot take candies out of the packs, and the whole contents of each pack must be given to one of the students.

Constraints

1 ≦ a, b, c ≦ 100

Input

The input is given from Standard Input in the following format:

a b c

Output

If it is possible to distribute the packs so that each student gets the same number of candies, print Yes. Otherwise, print No.

Sample Input 1

10 30 20

Sample Output 1

Yes

Give the pack with 30 candies to one student, and give the two packs with 10 and 20 candies to the other. Then, each gets 30 candies.

Sample Input 2

30 30 100

Sample Output 2

No

In this case, the student who gets the pack with 100 candies always has more candies than the other.

Note that every pack must be given to one of them.

Sample Input 3

56 25 31

Sample Output 3

Yes



Sample input:
10 30 20


Sample output:
Yes

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys
sys.setrecursionlimit(300000)

YES = "Yes"  # type: str
NO = "No"  # type: str

def solve(a: int, b: int, c: int):
    ret = NO
    s = a + b + c
    if a == s // 2 or b == s // 2 or c == s //2:
        ret = YES
    print(ret)
    return


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    a = int(next(tokens))  # type: int
    b = int(next(tokens))  # type: int
    c = int(next(tokens))  # type: int
    solve(a, b, c)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
x,y,z = map(int,input().split())
if x+y == z or y+z == x or x+z ==y:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
candy = list(map(int,input().split()))
if max(candy)*2 == sum(candy):
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
candy = set(map(int,input().split()))
if max(candy)*2 == sum(candy):
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

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

YES = "Yes"  # type: str
NO = "No"  # type: str

def solve(a: int, b: int, c: int):
    s = (a + b + c) // 2

    if s in [a, b, c]:
        print('Yes')
    else:
        print('No')
    return


# Generated by 1.1.4 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    a = int(next(tokens))  # type: int
    b = int(next(tokens))  # type: int
    c = int(next(tokens))  # type: int
    solve(a, b, c)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
s = (a + b + c) // 2

if s in [a, b, c]:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

if s in [a, b, c]:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
num = list(map(int,input().split()))
num.sort()
print("YES") if num[0]+num[1] == num[2] else print("NO")

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())
l = [a,b,c]
ld = sorted(l, reverse=True)
max = ld[0]
mix = ld[1]+ld[2]
if max==mix :
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

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

print('Yes' if (a+b+c)% 2 == 0 else 'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Inp = [a,b,c]
Sum = 0

print(Inp)
max_num = max(Inp)
Inp.remove(max_num)
for i in Inp: Sum += i
if max_num == Sum: print('Yes') 
else: print('No')

Submission status: Wrong Answer

Solution code:

Inp = input().split()
Sum = 0

for i in Inp:
	Sum += int(i)
if Sum % 2 == 0: 
	print('Yes') 
else: 
	print('No')

Submission status: Wrong Answer

Solution code:
import itertools

a = list(map(int,(input().split(' '))))
c = list(itertools.combinations(a, 2))
#b = int(input())
#h = int(input())
#print(c)
a.sort()
if a[0]+a[1] == a[2]:
  print('YES')
else :
  print('NO')

Submission status: Wrong Answer

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

if a+b == c or a+c == b or b+c ==a:
  print("yes")
else:
  print("no")

Submission status: Wrong Answer

Solution code:
a,b,c=map(int, input().split())
List=sorted([a,b,c], reverse=True)
if a+b==c:
    print("Yes")
else: print("No")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
if a + b == c or b + c == a or a + c == b:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
if __name__ == '__main__':
    K = list(map(int, input().split(' ')))
    if K[0] + K[1] == K[2]:
        print('Yes')
    else:
        print('No')

Submission status: Wrong Answer

Solution code:
if __name__ == '__main__':
    K = list(map(int, input().split(' ')))
    if K[0] + K[1] == K[2]:
        print('No')
    else:
        print('Yes')

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split()))
if sum(a)%2==0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split()))
print(sum(a))

Submission status: Wrong Answer

Solution code:
# encoding:utf-8
import copy
import random
import bisect #bisect_left　これで二部探索の大小検索が行える
import fractions #最小公倍数などはこっち
import math
import sys

mod = 10**9+7
sys.setrecursionlimit(mod) # 再帰回数上限はでdefault1000


a,b,c = map(int,input().split())
if a+b == c or a == b+c or b == a+c:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
l = list(map(int, input().split()))
s = 3
for i in range(3):
    for j in range(i + 1, 3):
        if l[i] == l[j]:
            s = s - 1
print(s)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=map(int,input().split())
ans='No'
if 2*max(a)==sum(a):
  ans='Yes'
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if A+B==C or A+C==B or B+C==A:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
if a+b == c or b+c==a or c+a==b:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

if a+b==c or b+c==a or c+a==b:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
C = list(map(int, input().split()))
m = max(C)
s = sum(C) - m
print(['NO', 'YES'][m == s])

Submission status: Wrong Answer

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

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
def main():
    list = [int(x) for x in input().split()]


    if (list[0] > list[1] + list[2]):
        print("No")
        return
    elif(list[1] > list[2] + list[0]):
        print("No")
        return
    elif(list[2] > list[0] + list[1]):
        print("No")
        return
    else:
        print("Yes")

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
def main():
    list = [int(x) for x in input().split()]


    if (list[0] > list[1] + list[2]):
        print("NO")
        return
    elif(list[1] > list[2] + list[0]):
        print("NO")
        return
    elif(list[2] > list[0] + list[1]):
        print("NO")
        return
    else:
        print("YES")

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
def main():
    list = [int(x) for x in input().split()]


    if (list[0] == list[1] + list[2]) | (list[1] == list[0] + list[2]) | (list[2] == list[0] + list[1]):
        print("YES")
    else:
        print("NO")

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
def main():
    list = [int(x) for x in input().split()]

    sum = list[0] + list[1] + list[2]
    max = list[0]
    if max <= list[1]:
        max = list[1]
    if max <= list[2]:
        max = list[2]

    if max * 2 == sum:
        print("YES")
    else:
        print("NO")

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
if a + b == c:
    print("YES")
elif b + c == a:
    print("YES")
elif c + a == b:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

a, b, c = map(int, input().split())
candy = [a, b, c]
candy.sort()
if candy[0] + candy[1] == candy[2]:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

a, b, c = map(int, input().split())
candy = [a, b, c]
candy.sort()
if candy[0] + candy[1] == candy[2]:
    print("YES")
else:
	print("NO")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
candy = [a, b, c]
if max(candy) == sum(candy) - max(candy):
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

a, b, c = map(int, input().split())
candy = [a, b, c]
if max(candy) == sum(candy) - max(candy):
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
if a+b == c or a+c == b or b+c ==a:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
A = list(map(int,input().split()))
A.sort(reverse = True)

if A[0] == (A[1] + A[2]):
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

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

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

if(t[2] == t[1] + t[0] ):
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

if a + b == c or a + c == b or b + c == a:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

if (a+b+c)%2 == 0:
    print("Yes")

else:
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split());print('YNeos'[a+b!=c and a+c!=b and b+c!=a])

Submission status: Wrong Answer

Solution code:
a,b,c = (int(x) for x in input().split())
candy = [a, b, c]
#print(candy)
candy.sort()
print(candy)
max_candy = candy[2]
middle_candy = candy[1]
min_candy = candy[0]

if max_candy == middle_candy + min_candy:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
a, b, c =map(int,input().split())
if a+b == c or a+c == b or b+c == a:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
arr = input().split()
arr.sort()
if arr[-1] == arr[0]+arr[1]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s=list(input())
cnt=0
for i in range(len(s)-1):
  if s[i]!=s[i+1]:
    cnt+=1
print(cnt)

Submission status: Wrong Answer

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

b = sum(a) / len(a)

print('Yes' if b % 3 == 0 else 'No')

Submission status: Wrong Answer

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

b = sum(a) 

print('Yes' if b % 3 == 0 else 'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=[]
a=list(map(int,input().split(' ')))
a.sort()
if a[0]+a[1]==a[2]:
    print('YES')
elif a[0]+a[1]!=a[2]:
    print('NO')

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
if a==b+c or b==a+c or c==a+b:
	print('YES')
else:
	print('NO')

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
abc = list(map(int, input().split()))
print(abc)

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
abc = list(map(int, input().split()))

if abc[0] == abc[1] + abc[2] or abc[1] == abc[0] + abc[2] or abc[2] == abc[0] + abc[1]:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
a, b, c = map(int, input().split())

if a == b + c or b == a + c or c == a + b:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
s=sum(map(int,input().split()))
print('Yes' if s % 2 == 0 else 'No')

Submission status: Wrong Answer

Solution code:
print('Yes' if sum(list(map(int,input().split()))) % 3 == 0 else 'No')

Submission status: Wrong Answer

Solution code:
ans=["NO","YES"]
candy=list(map(int,input().split()))
print(ans[max(candy)*2==sum(candy)])

Submission status: Wrong Answer

Solution code:
ans=["NO","YES"]
candy=list(map(int,input().split()))
print(ans[sum(candy)/2 in candy])

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split()))
if sum(a)/2==max(a):print("YES")
else:print("NO")

Submission status: Wrong Answer

Solution code:
v = list(map(int, input().split()))
v = sorted(v)
if v[0]+v[1] == v[2]:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if (A + B + C) % 3 == 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:

a = list(map(int, input().split()))
a.sort(reverse=True)
lmax = max(a)
lmin = min(a)
left = int(lmax - lmin)
print(a)
if left == a[1]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
#20:48
a = list(map(int, input().split()))
lmax = max(a)
lmin = min(a)
left = int(lmax - lmin)
print(left)
if left == a[0] or left == a[1] or left == a[2]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
A,B,C=map(int,input().split())
if A==B+C or B==C+A or C==A+B:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print("Yes" if ((a+b+c)%3==0 and (a+b+c)//2 in [a,b,c]) else "No")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print("Yes" if ((a+b+c)%3==0 and ((a+b+c)//3)*2 in [a,b,c]) else "No")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print("Yes" if ((a+b+c)%3==0 and 2*(a+b+c)//3 in [a,b,c]) else "No")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print("Yes" if ((a+b+c)%3==0 and (a+b+c)//3 in [a,b,c]) else "No")

Submission status: Wrong Answer

Solution code:
[print(len(list(i.groupby(input())))-1)for i in[__import__('itertools')]]

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = list(map(int, input().split()))
if a[0] + a[1] + a[2] == max(a) * 2:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
a, b, c = map(int,input().split())
print("YES" if (a+b) == c or (b+c) == a or (c+a) == b else "NO")

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split()))
print("Yes") if int(sum(a)/2) in list(a) else print("No")

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split()))
print("Yes" if sum(a)//2 in list(a) else "No")

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split()))
print("Yes") if sum(a)//2 in list(a) else print("No")

Submission status: Wrong Answer

Solution code:
a=map(int,input().split())
print("Yes") if sum(a)//2 in a else print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
print("No" if sum(map(int,input().split()))%3 else "Yes")

Submission status: Wrong Answer

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

abc = [int(s) for s in input().split()]

abc.sort()

if abc[0]+abc[1] == abc[2]:
    print('yYs')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split()))
a.sort()
if a[-1]==a[0]+a[1]:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
if a==b+c or b==a+c or c==a+b:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a.sort()
if a[0] == a[1]+a[2]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
# 

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

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
print('YES' if a==(b+c) or b==(a+c) or c==(a+b) else 'NO')

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
print('YES' if a==b+c or b==a+c or c==a+b else 'NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = (int(x) for x in input().split())
if a == b + c or b == a + c or c == a + b:
    print('YES')
else:
	print('NO')

Submission status: Wrong Answer

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

    if a + b == c:
        print('YES')
        return
    if a + c == b:
        print('YES')
        return
    if a == b + c:
        print('YES')
        return

    print('NO')
    return


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
a = []
a = map(int,raw_input().split())
if sum(a)/max(a) == 2:
  print 'Yes'
else:
  print 'No'

Submission status: Wrong Answer

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

if (a + b + c) % 2 == 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = input()
ans = 0
while len(s):
    c = s[0]
    for i in range(len(s)):
        if s[i] != c:
            idx = i
            break
        idx2 = i
    if idx2 == len(s)-1:
        break
    s = s[i:]
    ans += 1

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c=list(input().split())
if a==b or a==c or b==c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
abc = list(map(int,input().split()))
abc.sort()
if abc[2] == abc[1] + abc[0]:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
abc = list(map(int, input().split()))
abc.sort(reverse = False)
if abc[2] == abc[1] + abc[0]:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
abc = list(map(int,input().split()))
abc.sort(reverse = False)
if abc[2] == abc[1] + abc[0]:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
abc=list(map(int,input().split()))
abc.sort(reverse=False)
if abc[2]==abc[1]+abc[0]:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
pack = [int(i) for i in input().split()]
pack.sort()
if pack[2] == pack[0] + pack[1]:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
a = input().split()
if abs(int(a[0])-int(a[1]))==0 or abs(int(a[0])-int(a[1]))==int(a[2]):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
a = input().split()
if abs(int(a[0])-int(a[1]))==int(a[2]):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())
if c <= a:
    a, c = c, a
    if c <= b:
        b, c = c, b
elif c >= b:
    b, c = c, b

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s1 = input().split()
s2 = sorted(s1)
a = int(s2[0])
b = int(s2[1])
c = int(s2[2])

if a + b == c:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
x = sorted(int(s) for s in input().split())
if x[0] + x[1] == x[2]:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
*a,=map(int,input().split());print('YNeos'[sum(a)/2<max(a)::2])

Submission status: Wrong Answer

Solution code:
s=input();print('NYoe s'['2'in s or'5'in s::2])

Submission status: Wrong Answer

Solution code:
nums = list(map(int, input().split()))
if nums[0] == nums[1] or nums[1] == nums[2] or nums[0] == nums[2]:
	print('Yes')
elif nums[0] < nums[1] and nums[0]+nums[2] == nums[1]:
	print('Yes')
elif nums[0] < nums[2] and nums[0]+nums[1] == nums[2]:
	print('Yes')
elif nums[1] < nums[0] and nums[2]+nums[1] == nums[0]:
	print('Yes')
else:
	print('No')

Submission status: Wrong Answer

Solution code:
nums = list(map(int, input().split()))
if nums[0] == nums[1] or nums[1] == nums[2] or nums[0] == nums[2]:
	print('Yes')
if nums[0] < nums[1] and nums[0]+nums[2] == nums[1]:
	print('Yes')
if nums[0] < nums[2] and nums[0]+nums[1] == nums[2]:
	print('Yes')
if nums[1] < nums[0] and nums[2]+nums[1] == nums[0]:
	print('Yes')
else:
	print('No')

Submission status: Wrong Answer

Solution code:
nums = list(map(int, input().split()))
sum = 0
for i in range(3):
	sum += nums[i]
if sum % 3 == 0:
	print('Yes')
else:
	print('No')

Submission status: Wrong Answer

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

A = [a,b,c]
A.sort()
if A[0] == (A[1]+A[2]) or (A[0] + A[1]) == A[2]:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x,y,z=map(int,input().split())
if x+y==z or y+z==z or y+z==x:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
print("Yes")

Submission status: Wrong Answer

Solution code:
x,y,z=sorted(map(int,input().split()));print('YNeOs'[x+y!=z::2])

Submission status: Wrong Answer

Solution code:
print("YNeos"[sum(map(int,input().split()))%3!=0::2])

Submission status: Wrong Answer

Solution code:
A=map(int,input().split())
print('Yes' if 2*max(A)==sum(A) else 'No')

Submission status: Wrong Answer

Solution code:
a,b,c=map(int, input().split())
d=[a,b,c]
if sum(d)//2 in d: print('Yes')
else: print('No')

Submission status: Wrong Answer

Solution code:
a,b,c=map(int, input().split())
d=[a,b,c]
if sum(d)//2 in d: print('Yes')
else: 'No'

Submission status: Wrong Answer

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

if abc[2]-(abc[1]+abc[0]) == 0:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split());print("YNeos"[a+b==c or a+c==b or b+c==a::2])

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split());print("YNeos"[a+b-c and a+c-b and b+c-a::2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(["No","Yes"][sum(list(map(int,input().split())))%3==0])

Submission status: Wrong Answer

Solution code:
import sys
import math
import collections
import itertools
import array
import inspect

# Set max recursion limit
sys.setrecursionlimit(1000000)


# Debug output
def chkprint(*args):
    names = {
        id(v): k
        for k, v in inspect.currentframe().f_back.f_locals.items()
    }
    print(', '.join(
        names.get(id(arg), '???') + ' = ' + repr(arg) for arg in args))


# Binary converter
def to_bin(x):
    return bin(x)[2:]


def li_input():
    return [int(_) for _ in input().split()]


def gcd(n, m):
    if n % m == 0:
        return m
    else:
        return gcd(m, n % m)


def gcd_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = gcd(v, L[i])

    return v


def lcm(n, m):
    return (n * m) // gcd(n, m)


def lcm_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = lcm(v, L[i])

    return v


# Width First Search (+ Distance)
def wfs_d(D, N, K):
    """
    D: 隣接行列(距離付き)
    N: ノード数
    K: 始点ノード
    """

    dfk = [-1] * (N + 1)
    dfk[K] = 0

    cps = [(K, 0)]
    r = [False] * (N + 1)
    r[K] = True
    while len(cps) != 0:
        n_cps = []
        for cp, cd in cps:
            for i, dfcp in enumerate(D[cp]):
                if dfcp != -1 and not r[i]:
                    dfk[i] = cd + dfcp
                    n_cps.append((i, cd + dfcp))
                    r[i] = True

        cps = n_cps[:]

    return dfk


# Depth First Search (+Distance)
def dfs_d(v, pre, dist):
    """
    v:  現在のノード
    pre: １つ前のノード
    dist: 現在の距離

    以下は別途用意する
    D: 隣接リスト(行列ではない)
    D_dfs_d: dfs_d関数で用いる，始点ノードから見た距離リスト
    """

    global D
    global D_dfs_d

    D_dfs_d[v] = dist

    for next_v, d in D[v]:
        if next_v != pre:
            dfs_d(next_v, v, dist + d)

    return


def sigma(N):
    ans = 0
    for i in range(1, N + 1):
        ans += i
    return ans


class Combination:
    def __init__(self, n, mod):

        g1 = [1, 1]
        g2 = [1, 1]
        inverse = [0, 1]
        for i in range(2, n + 1):
            g1.append((g1[-1] * i) % mod)
            inverse.append((-inverse[mod % i] * (mod // i)) % mod)
            g2.append((g2[-1] * inverse[-1]) % mod)
        self.MOD = mod
        self.N = n
        self.g1 = g1
        self.g2 = g2
        self.inverse = inverse

    def __call__(self, n, r):
        if (r < 0 or r > n):
            return 0
        r = min(r, n - r)
        return self.g1[n] * self.g2[r] * self.g2[n - r] % self.MOD


# --------------------------------------------

dp = None


def main():
    a, b, c = li_input()

    if sum([a, b, c]) - max(a, b, c) == max(a, b, c):
        print("Yes")
    else:
        print("Nop")


main()

Submission status: Wrong Answer

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

def main():
    a, b, c = map(int, input().split())
    if (a + b + c) % 3 == 0:
        print('Yes')
    else:
        print('No')

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
#47a
l = sorted(input().split())
if int(l[0])+int(l[1]) == int(l[2]):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
if (a + b == c) or (b + c == a) or (c + a == b):
    print("YES")
else:
    print("NO")