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: Runtime Error

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

num_lists = [a, b, c]
maximum = a
if a == b or a == c or b == c:
  ans = 'No'
else:
  if maximum < b:
    maximum = b
  if maximum < c:
    maximum = c

num_lists.remove(maximum)
if num_lists[0] + num_lists[1] == maximum:
  ans ='Yes'

print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = input()
b = input()
c = input()

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

Submission status: Runtime Error

Solution code:
list.sort (l, reverse=True)
a = int (l[0])
b = int (l[1])
c = int (l[2])
if a == b+c:
  print ('Yes')
else:
  print ('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
W,H,N=map(int,input().split())
a,b,c,d=0,W,0,H

for i in range(N):
  x,y,A=map(int,input().split())
  if A==1: a=max(a,x)
  if A==2: b=min(b,x)
  if A==3: c=max(c,y)
  if A==4: d=min(d,y)
  
print(max(0,b-a)*max(0,d-c))

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def candy():
    a=int(input())
    b=int(input())
    c=int(input())
    if a+c==b:
        print('Yes')
    elif b+c==a:
        print('Yes')
    else:
        print('No')


candy()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

a.remove(c)
if e == b:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a=map(int,input().split())
a.sort()
print('YNeos'[a[2]!=a[0]+a[1]::2])

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

Solution code:
w,h,n = map(int,input().split())
x_min = 0
y_min = 0
x_max = w
y_max = h
for i in range(n):
  x,y,a = map(int,input().split())
  if a == 1:
    if x_min < x:
      x_min = x
  elif a == 2:
    if x_max > x:
      x_max = x
  elif a == 3:
    if y_min < y:
      y_min = y
  elif a == 4:
    if y_max > y:
      y_max = y
S = (x_max-x_min)*(y_max-y_min)
if S < 0:
  print(0)
else:
  print(S)

Submission status: Runtime Error

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

a = sorted(A)

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

Submission status: Runtime Error

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')
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: Runtime Error

Solution code:
W, H, N = map(int, input().split())

left = 0
right = W
bottom = 0
top = H

for i in range(N):
  x, y, a = map(int, input().split())
  if a == 1:
    left = max(left, x)
  elif a == 2:
    right = min(right, x)
  elif a == 3:
    bottom = max(bottom, y)
  else:
    top = min(top, y)
    
print((right-left) * (top-bottom))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a=input().split(" ")
sum1=a[0]+a[1]
sum2=a[0]+a[2]
sum3=a[1]+a[2]

if sum1+sum2==sum3 or sum1+sum3==sum2 or sum2+sum3==sum1
	print("Yes")
else:
	print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import java.util.*;

class Main {
    public static void main(String args[]) {
        Scanner inp = new Scanner(System.in);
        int a = inp.nextInt();
        int b = inp.nextInt();
        int c = inp.nextInt();
        boolean flag = false;
        if ((a + b) == c) flag = true;
        if ((a + c) == b) flag = true;
        if ((b + c) == a) flag = true;
        System.out.println(flag ? "Yes" : "No");
    }
}

Submission status: Runtime Error

Solution code:
def cin():
	return map(int,input().split())

def cino(test=False):
    if not test:
        return int(input())
    else:
        return input()
def cina():
  return list(map(int,input().split()))


a,b,c  = cin()
p = -1
q = 1e9
r = -1
s = 1e9
for i in range(c):
  x,y,z = cin()
  if z==1:
    p = max(x,p)
  elif z==2:
    q = min(x,q)
  elif z==3:
    r = max(r,y)
  else:
    s = min(s,y)

if p==-1:
    p = 0
if q==1e9:
    q = a
if r==-1:
    r=0
if s==1e9:
    s=b

ans = (q-p)*(s-r)
if p>q or r>q:
    print(0)
else:
    print(ans)

Submission status: Runtime Error

Solution code:
def cin():
	return map(int,input().split())

def cino(test=False):
    if not test:
        return int(input())
    else:
        return input()
def cina():
  return list(map(int,input().split()))


a,b,c  = cin()
p = -1
q = 1e9
r = -1
s = 1e9
for i in range(c):
  x,y,z = cin()
  if z==1:
    p = max(x,p)
  elif z==2:
    q = min(x,q)
  elif z==3:
    r = max(r,y)
  else:
    s = min(s,y)

if p==-1:
    p = 0
if q==1e9:
    q = a
if r==-1:
    r=0
if s==1e9:
    s=b

# v = a-(a-p-1+a-q)
# w = b-(b-r+b-s)
# print(v,w)
ans = (q-p)*(s-r)
if ans>0:
    print(ans)
else:
    print(0)
# print(ans if ans>0 else 0)

# l1 = list(range(0,p+1))
# l2 = list(range(q,a))
# l1 = set(l1)
# l2 = set(l2)
# l3 = l1.union(l2)

# l4 = list(range(0,r))
# l5 = list(range(s,b+1))
# l4 = set(l4)
# l5 = set(l5)
# l6 = l4.union(l5)
# # print(l3,l6)
# # print(l1,l2)
# # print(p,q,r,s)
# if(len(l3)==a or len(l6)==b):
#     print(0)
# else:
#     print((a-len(l3)+1)*(b-len(l6)+1))

Submission status: Runtime Error

Solution code:
def cin():
	return map(int,input().split())

def cino(test=False):
    if not test:
        return int(input())
    else:
        return input()
def cina():
  return list(map(int,input().split()))


a,b,c  = cin()
p = -1
q = 1e9
r = -1
s = 1e9
for i in range(c):
  x,y,z = cin()
  if z==1:
    p = max(x,p)
  elif z==2:
    q = min(x,q)
  elif z==3:
    r = max(r,y)
  else:
    s = min(s,y)

if p==-1:
    p = 0
if q==1e9:
    q = a
if r==-1:
    r=0
if s==1e9:
    s=b

# v = a-(a-p-1+a-q)
# w = b-(b-r+b-s)
# print(v,w)
ans = (q-p)*(s-r)
print(ans if ans>0 else 0)

# l1 = list(range(0,p+1))
# l2 = list(range(q,a))
# l1 = set(l1)
# l2 = set(l2)
# l3 = l1.union(l2)

# l4 = list(range(0,r))
# l5 = list(range(s,b+1))
# l4 = set(l4)
# l5 = set(l5)
# l6 = l4.union(l5)
# # print(l3,l6)
# # print(l1,l2)
# # print(p,q,r,s)
# if(len(l3)==a or len(l6)==b):
#     print(0)
# else:
#     print((a-len(l3)+1)*(b-len(l6)+1))

Submission status: Runtime Error

Solution code:

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

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

Submission status: Runtime Error

Solution code:
W,H,N = int(input())
p = 0
q = W
l = 0
m = H

for i in range(N):
  x,y,a = map(int.split())
  if a == 1:
    p = max(p,x)
  if a == 2:
    q = min(q,x)
  if a == 3:
    l = max(l,y)
  if a == 4:
    m = min(m,y)
S = (q-p)*(l-m)
print(S)

Submission status: Runtime Error

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

A = [a,b,c]
A.sort()
if a+b == c:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
import sys

def solve():
    input = sys.stdin.readline
    C = [int(i) for i in input().spit()]
    C.sort()
    if C[0] + C[1] == C[2]: print("Yes")
    else: print("No")

    return 0

if __name__ == "__main__":
    solve()

Submission status: Runtime Error

Solution code:
Cnd = list(map(int,input().split()))
Cnd = sorted(Cnd)
result = 'No'
if Cnd[0]=Cnd[1]+Cnd[2]:
	result ='Yes'
id Cnd[0]+Cnd[1]=Cnd[2]:
	result ='Yes'
print(result)

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
d=[]
d.append(a)
d.append(b)
d.append(c)
d.sort()
if a[0]+a[1]==a[2]:
  print('YES')
else:
  print('NO')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
W, H, N = map(int, input().split())

x = [0] * N
y = [0] * N
a = [0] * N

for i in range(N):
    x[i], y[i], a[i] = map(int, input().split())

X1 = 0
X2 = 0
Y1 = 0
Y2 = 0

x1, x2, y1, y2 = 0, 0, 0, 0

X = 0
Y = 0

entire = W * H

for i in range(N):
    if a[i]==1 and X1<x[i]:
        x1 = x[i] * H
        X1 += x[i]
    elif a[i]==2 and X2<(W-x[i]):
        x2 = (W-x[i]) * H
        X2 += W - x[i]
    elif a[i]==3 and Y1<y[i]:
        y1 = y[i] * W
        Y1 += y[i]
    elif a[i]==4 and Y2<(H-y[i]):
        y2 = (H-y[i]) * W
        Y2 += H - y[i]

entire = entire - (x1 + x2 + y1 + y2) + ((X1+X2) * (Y1+Y2))

print(entire)

Submission status: Runtime Error

Solution code:
W, H, N = map(int, input().split())
w = 0
h = 0
lx = list()
ly = list()
la = list()
for i in range(1, N+1):
    X, Y, A = map(int, input().split())
    lx.append(X)
    ly.append(Y)
    la.append(A)
    if A == 1 and w < X:
        w = X
    elif A == 2 and X < W:
        W = X
    elif A == 3 and h < Y:
        h = Y
    elif A == 4 and Y < H:
        H = Y
S = (W - w)*(H - h)
if S < 0:
    S = 0
print(S)

Submission status: Runtime Error

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


total =sum([a,b,c])


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

Submission status: Runtime Error

Solution code:
s = set([int(i) for i in input().split()])
if s.pop() == s.pop() + s.pop():
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

sum = a + b + c

if sum % 2 == 0:
  print(Yes)

else:
  print(No)

Submission status: Runtime Error

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

sum = a + b + c

if sum % 2 = 0:
  print(Yes)

else:
  print(No)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())
n = [a,b,c]
d = (a+b+c)/2
if n.count(int(d)) == 1:
  print("YES")
else:
  print("NO")

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())
n = [a,b,c]
d = int ((a+b+c)/2)
if n.count(d) == 1:
  print("YES")
else:
  print("NO")

Submission status: Runtime Error

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

if sum(a, b, c) == max(a, b, c) * 2:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

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: Runtime Error

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: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

Solution code:
a=int(input())
b=int(input())
c=int(input())

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

Submission status: Runtime Error

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

if (a+b+C)-max(a,b,c)==max(a,b,c):
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
w, h, n = map(int, input().split())
nums_list=[list(map(int, input().split())) for i in range(n)]
minX = 0
maxX = w
minY = 0
maxY = h
for nums in nums_list:
	x, y, a = map(int, nums)
	if a == 1:
		minX = minX if (minX > x) else x
	elif a == 2:
		maxX = maxX if (maxX < x) else x
	elif a == 3:
		minY = minY if (minY > y) else y
	elif a == 4:
		maxY = maxY if (maxY < y) else y
width = maxX-minX
width = width if (width > 0) else 0
height = maxY-minY
height = height if (height > 0) else 0
v = width*height
print(v)

Submission status: Runtime Error

Solution code:
w, h, n = map(int, input().split())
nums_list=[list(map(int, input().split())) for i in range(n)]
minX = 0
maxX = w
minY = 0
maxY = h
for nums in nums_list:
	x, y, a = map(int, nums)
	if a == 1:
		minX = minX if (minX > x) else x
	elif a == 2:
		maxX = maxX if (maxX < x) else x
	elif a == 3:
		minY = minY if (minY > y) else y
	elif a == 4:
		maxY = maxY if (maxY < y) else y
width = maxX-minX if (maxX-minX > 0) else 0
height = maxY-minY if (maxY-minY > 0) else 0
v = width*height
print(v)

Submission status: Runtime Error

Solution code:
l = map(int, input().split())
m = max(l)
n = l.pop(m)
wa = 0
for i in n:
    wa += i
if wa == m:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
import sys
W,H,N=map(int,input().split())
x1=0
x2=W
y1=0
y2=H
for i in range(N):
    x,y,a=map(int,input().split())
    if a==1:
        x1=max(x1,x)
    elif a==2:
        x2=min(x,x2)
    elif a==3:
        y1=max(y1,y)
    elif a==4:
        y2=min(y,y2)
if x2<x1 or y2<y1:
    print(0)
    sys.exit()
xx=x2-x1
yy=y2-y1
print(xx*yy)

Submission status: Runtime Error

Solution code:
W,H,N=map(int,input().split())
x1=0
x2=W
y1=0
y2=H
for i in range(N):
    x,y,a=map(int,input().split())
    if a==1:
        x1=max(x1,x)
    elif a==2:
        x2=min(x,x2)
    elif a==3:
        y1=max(y1,y)
    elif a==4:
        y2=min(y,y2)
if x2<x1 or y2<y1:
    print(0)
    exit()
xx=x2-x1
yy=y2-y1
print(xx*yy)

Submission status: Runtime Error

Solution code:
W, H, N = map(int, input().split())
plot_infos = [list(map(int, input().split())) for _ in range(N)]

def calcArea(M, H, N, plot_infos):
  pointA = [M, H]
  pointB = [0, 0]
  for i in range(N):
    plot_info = plot_infos[i]
    if plot_info[2] == 1:
      pointB[0] = max(plot_info[0], pointB[0])
    elif plot_info[2] == 2:
      pointA[0] = min(plot_info[0], pointA[0])
    elif plot_info[2] == 3:
      pointB[1] = max(plot_info[1], pointB[1])
    elif plot_info[2] == 4:
      pointA[1] = min(plot_info[1], pointA[1])
      
  if pointA[0] < pointB[0] or pointA[1] < pointB[1]:
      return 0
      
  return (pointA[0] - pointB[0]) * (pointA[1] - pointB[1])

print(calcArea(W, H, N, plot_infos))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
List = list(map(int,input().split()))
List2 = sorted(List)
print('Yes' if List2[0] + List2[1] == List2[3] else 'No')

Submission status: Runtime Error

Solution code:
List = list(map,input().split())
List2 = sorted(List)
print('Yes' if List2[0] + List2[1] == List2[3] else 'No')

Submission status: Runtime Error

Solution code:
List = list[input().split()]
List2 = sorted(List)
print('Yes' if List2[0] + List2[1] == List2[3] else 'No')

Submission status: Runtime Error

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

big = max(a,b,c)
total = a + b + c
if total = big*2:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x,y,n=list(map(int,input().split()))
xx=x
yy=y
S=[]
a1=0
b1=0
for _ in range(n):
    S.append(list(map(int,input().split())))
for a in S :
    if a[2]==1:
        a1 = max(a1,a[0])
    elif a[2]==2:
        xx = min(xx,a[0])
    elif a[2]==3:
        b1 = max(b1,a[1])
    elif a[2]==4:
        yy = min(yy,a[1])

if(xx-a1)*(yy-b1)<0 or xx< 0 <yy or xx> 0 >yy:
  print((xx-a1)*(yy-b1) if xx<a1 and yy<b1 else 0)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = input().split()
w = int(a[0])
h = int(a[1])
n = int(a[2])

x_min = 0
x_max = w
y_min = 0
y_max = h

for i in range(n):
    a = input().split()
    wp = int(a[0])
    hp = int(a[1])
    ap = int(a[2])
    if ap == 1:
        if x_min < wp:
            x_min = wp
    elif ap == 2:
        if x_max > wp:
            x_max = wp
    elif ap == 3:
        if y_min < hp:
            y_min = hp
    elif ap == 4:
        if y_max > hp:
            y_max = hp
    # print(x_min, x_max, y_min, y_max)

if x_max < x_min:
    ws = 0
else:
    ws = x_max - x_min

if y_max < y_min:
    hs = 0
else:
    hs = y_max - y_min

squea = ws * hs

print(squea)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
a,b,c = sorted(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())

int T = 0

if a+b == c:
    T = 1
elif b+c == a:
    T = 1
elif a+c == b:
    T = 1

if T == 1:
    print('YES')
else:
    print('NO')

Submission status: Runtime Error

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

int T = 0

if a+b == c:
    T = 1
elif b+c == a:
    T = 1
elif a+c == b:
    T = 1

if T == 1:
    print('YES')
else:
    print('NO')

Submission status: Runtime Error

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

int T = 0

if a+b == c:
    T = 1
elif b+c == a:
    T = 1
elif a+c == b:
    T = 1

if T == 1:
    print("YES")
else:
    print('NO')

Submission status: Runtime Error

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

T = 0

if a+b = c:
    T = 1
elif b+c = a:
    T = 1
elif a+c = b:
    T = 1

if T = 1:
    print("YES")
else:
    print("NO")

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
W,H,N = map(int,input().split())
li = []

for i in range(N):
  li.append(list(map(int,input().split())))

s = [[0, W], [0, H]]

for x in li:
  if x[2] == 1:
    if s[0][0] < x[0]:
      s[0][0] = x[0]
  
  if x[2] == 2:
    if s[0][1] > x[0]:
      s[0][1] = x[0]
  
  if x[2] == 3:
    if s[1][0] < x[1]:
      s[1][0] = x[1]
  
  if x[2] == 4:
    if s[1][1] > x[1]:
      s[1][1] = x[1]
      
if s[0][1] - s[0][0] < 0 or s[1][1] - s[1][0]:
  print(0)
else:
  print(s[0][1] - s[0][0] * s[1][1] - s[1][0])

Submission status: Runtime Error

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

if A+B==C or A+C==B or B+C==A:
  r = True
else:
  r = False
print(r)

Submission status: Runtime Error

Solution code:
a,b,c = map(int,input().split())
print(A+B==C or A+C==B or B+C==A)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
candy = [input() for i in range(3)]
candy.sort()

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

Submission status: Runtime Error

Solution code:
W,H,N = list(map(int,input().split()))

points = [list(map(int, input().split())) for _ in range(N)]
res = 0

x1,y1 = [0,0]
x2,y2 = [W,H]

for x,y,a in points:
    if a == 1:
        x1 = max(x1, x)
    if a == 2:
        x2 = min(x2, x)
    if a == 3:
        y1 = max(y1, y)
    if a == 4:
        y2 = min(y2, y)

if x2-x1 <= 0 or y-y1 <=0:
    print("0")
else:
    res = (x2-x1) * (y2 - y1)
    print(res)

Submission status: Runtime Error

Solution code:
W,H,N = list(map(int,input().split()))

points = [list(map(int, input().split())) for _ in range(N)]
res = 0

x1,y1 = [0,0]
x2,y2 = [W,H]

for x,y,a in points:
    if a == 1:
        x1 = max(x1, x)
    if a == 2:
        x2 = min(x2, x)
    if a == 3:
        y1 = max(y1, y)
    if a == 4:
        y2 = min(y2, y)

if x2-x1 <= 0 or y-y1 <=0:
    print(0)
else:
    res = (x2-x1) * (y2 - y1)
    print(res)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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: Runtime Error

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

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

Submission status: Runtime Error

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

sorted = list.sort()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
W, H, N = map(int, input().split())
x1 = y1 = 0
x2 = W
y2 = H
for _ in range(N):
    x, y, a = map(int, input().split())
    if a == 1:
        x1 = max(x1, x)
    elif a == 2:
        x2 = min(x2, x)
    elif a == 3:
        y1 = max(y1, y)
    else:
        y2 = min(y2, y)

print(max(0, (x2 - x1)) * max(0, (y2 - y1)))

Submission status: Runtime Error

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

m = max(lst)
if sum(lst) = 2*m:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input().split())
if sum(abc)//2 == a or sum(abc)//2 == b or sum(abc)//2 == 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")
elif b==a+c:
  print("Yes")
elif c==a+b:
  print("Yes")

print("No")

Submission status: Runtime Error

Solution code:
##### 解けた #####

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())

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

Submission status: Runtime Error

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

A_B = (a+b)
A_C = (a+c)
B_C = (b+c)

if (A_B == c) or (A_C == b) or (B_C = a):
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

A_B = (A+B)
A_C = (A+C)
B_C = (B+C)

if A_B == C or A_C == B or B_C = A:
    print("Yes")
else:
    print("No")