Datasets:

problem_id
stringlengths
6
6
buggy_code
stringlengths
8
526k
fixed_code
stringlengths
12
526k
labels
listlengths
0
15
⌀
buggy_submission_id
int64
1
1.54M
fixed_submission_id
int64
2
1.54M
user_id
stringlengths
10
10
language
stringclasses
8 values
p02640
import sys X, Y = map(int, input().split()) for i in range(X): if Y == 4*i + 2*(X-i): print("Yes") sys.exit() if X == 1: if Y == 4 or Y == 2: print("Yes") sys.exit() if Y < X: print("No") sys.exit() print("No")
import sys X, Y = map(int, input().split()) for i in range(X+1): if Y == 4*i + 2*(X-i): print("Yes") sys.exit() if X == 1: if Y == 4 or Y == 2: print("Yes") sys.exit() if Y < X: print("No") sys.exit() print("No")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
352,443
352,444
u124212130
python
p02640
x, y = map(int, input().split(" ")) print(y%2) if y%2 == 1: print('No') elif 4 * x < y: print('No') elif 2 * x > y: print('No') else: for i in range(0,x+1): if 2 * i + 4 * (x-i) == y: print('Yes') break else: print('No')
x, y = map(int, input().split(" ")) if y%2 == 1: print('No') elif 4 * x < y: print('No') elif 2 * x > y: print('No') else: for i in range(0,x+1): # print("i:{}".format(i)) if 2 * i + 4 * (x-i) == y: print('Yes') break else: print('No')
[ "call.remove" ]
352,445
352,446
u323859575
python
p02640
x, y = map(int, input().split(" ")) if y%2 == 1: print('No') elif 4 * x < y: print('No') elif 2 * x > 7: print('No') else: for i in range(0,x+1): if 2 * i + 4 * (x-i) == y: print('Yes') break else: print('No')
x, y = map(int, input().split(" ")) if y%2 == 1: print('No') elif 4 * x < y: print('No') elif 2 * x > y: print('No') else: for i in range(0,x+1): # print("i:{}".format(i)) if 2 * i + 4 * (x-i) == y: print('Yes') break else: print('No')
[ "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change" ]
352,447
352,446
u323859575
python
p02640
x, y = map(int, input().split(" ")) if y%2 == 1: print('No') elif 4 * x < y: print('No') elif 2 * x > 7: print('No') else: for i in range(1,y): if 2 * i + 4 * (x-i) == y: print('Yes') break else: print('No')
x, y = map(int, input().split(" ")) if y%2 == 1: print('No') elif 4 * x < y: print('No') elif 2 * x > y: print('No') else: for i in range(0,x+1): # print("i:{}".format(i)) if 2 * i + 4 * (x-i) == y: print('Yes') break else: print('No')
[ "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change", "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "control_flow.loop.range.bounds.upper.change" ]
352,448
352,446
u323859575
python
p02640
X, Y = map(int, input().split()) for i in range(X): if i*4 + (X-i)*2 == Y: print('Yes') exit() print('No')
X, Y = map(int, input().split()) for i in range(X+1): if i*4 + (X-i)*2 == Y: print('Yes') exit() print('No')
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
352,451
352,452
u119982001
python
p02640
X ,Y = map(int,input().split()) if X > 50: print('No') exit(0) for i in range(1, X+1): f = 2 * i + 4 * (X - i) if f == Y: print('Yes') break else: ans = X * 4 count = ans/4 if count == X and Y%4 == 0: print('Yes') else: print('No')
X ,Y = map(int,input().split()) if X > 50: print('No') exit(0) for i in range(1, X+1): f = 2 * i + 4 * (X - i) if f == Y: print('Yes') break else: ans = X * 4 count = ans/4 if count == X and ans==Y and Y%4 == 0: print('Yes') else: print('No')
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
352,462
352,463
u917734688
python
p02640
x, y = map(int, input().split()) count = 0 for k in range(x): kame = k turu = x-k ashi = 2*turu + 4*kame if ashi==y: count += 1 break if count>0: print('Yes') else: print('No')
x, y = map(int, input().split()) count = 0 for k in range(x+1): kame = k turu = x-k ashi = 2*turu + 4*kame if ashi==y: count += 1 break if count>0: print('Yes') else: print('No')
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
352,464
352,465
u037754315
python
p02640
x, y = map(int, input().split()) count = 0 for k in range(101): kame = k turu = x-k ashi = 2*turu + 4*kame if ashi==y: count += 1 break if count>0: print('Yes') else: print('No')
x, y = map(int, input().split()) count = 0 for k in range(x+1): kame = k turu = x-k ashi = 2*turu + 4*kame if ashi==y: count += 1 break if count>0: print('Yes') else: print('No')
[ "identifier.replace.add", "literal.replace.remove", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
352,466
352,465
u037754315
python
p02640
def main(): x, y = map(int, input().split()) if 4*x - y < 0 and y - 2*x < 0: print("No") else: c = (4*x - y) / 2 t = (y - 2*x) / 2 if c==int(c) and t==int(t): print("Yes") else: print("No") if __name__ == "__main__": main()
def main(): x, y = map(int, input().split()) if 4*x - y < 0 or y - 2*x < 0: print("No") else: c = (4*x - y) / 2 t = (y - 2*x) / 2 if c==int(c) and t==int(t): print("Yes") else: print("No") if __name__ == "__main__": main()
[ "control_flow.branch.if.condition.change" ]
352,476
352,477
u137061893
python
p02640
x,y = map(int,input().split()) flag = 0 for i in range(x): total = 2 * i + 4 * (x - i) if y == total: print('Yes') flag = 1 break if flag == 0: print('No')
x,y = map(int,input().split()) flag = 0 for i in range(x + 1): total = 2 * i + 4 * (x - i) if y == total: print('Yes') flag = 1 break if flag == 0: print('No')
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
352,482
352,483
u791070772
python
p02640
import sys n , total = map(int,input().split()) t = 0 k = 0 for t in range(n + 1): for k in range(n): x = t + k if x == n: if 2*t + 4*k == total: print("Yes") sys.exit() print("No")
import sys n , total = map(int,input().split()) t = 0 k = 0 for t in range(n + 1): for k in range(n + 1): x = t + k if x == n: if 2*t + 4*k == total: print("Yes") sys.exit() print("No")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
352,486
352,487
u342747506
python
p02640
a,b=(int(x) for x in input().split()) lista=[] listb=[] for numa in range(a+1): lista.append(numa*2) for numb in range(a+1): listb.append(numb*4) listb.reverse() count=0 combined1 = [x*y for (x, y) in (lista, listb)] for num in combined1: if num==b: count+=1 if count>0: print("Yes") else: print("No")
a,b=(int(x) for x in input().split()) lista=[] listb=[] for numa in range(a+1): lista.append(numa*2) for numb in range(a+1): listb.append(numb*4) listb.reverse() count=0 combined1 = [x+y for (x, y) in zip(lista, listb)] for num in combined1: if num==b: count+=1 if count>0: print("Yes") else: print("No")
[ "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change", "call.add" ]
352,498
352,497
u081948001
python
p02640
a,b=(int(x) for x in input().split()) lista=[] listb=[] for numa in range(a+1): lista.append(numa*2) for numb in range(a+1): listb.append(numb*4) listb.reverse count=0 combined1 = [x*y for (x, y) in (lista, listb)] for num in combined1: if num==b: count+=1 if count>0: print("Yes") else: print("No")
a,b=(int(x) for x in input().split()) lista=[] listb=[] for numa in range(a+1): lista.append(numa*2) for numb in range(a+1): listb.append(numb*4) listb.reverse() count=0 combined1 = [x+y for (x, y) in zip(lista, listb)] for num in combined1: if num==b: count+=1 if count>0: print("Yes") else: print("No")
[ "call.add", "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change" ]
352,500
352,497
u081948001
python
p02640
X,Y = map(int, input().split()) if Y%2==0 and Y<4*X and Y>2*X: print("Yes") else: print("No")
X,Y = map(int, input().split()) if Y%2==0 and Y<=4*X and Y>=2*X: print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
352,501
352,502
u286325269
python
p02640
x,y = list(map(int, input("").split())) if 4 * x < y: print("No") else: if 2 * x <y: if y % 2 == 0: print("Yes") else: print("No") else: print("No")
x,y = list(map(int, input("").split())) if 4 * x < y: print("No") else: if 2 * x <= y: if y % 2 == 0: print("Yes") else: print("No") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
352,505
352,506
u698756732
python
p02640
x, y = map(int, input().split()) for a in range(1, x + 1): if 2 * a + 4 * (x - a) == y: print('Yes') exit() print('No')
x, y = map(int, input().split()) for a in range(x + 1): if 2 * a + 4 * (x - a) == y: print('Yes') exit() print('No')
[ "call.arguments.change" ]
352,507
352,508
u997641430
python
p02640
x,y=map(int,input().split()) l=[] for i in range(x): l.append(2*(x+i)) i+=1 print('Yes' if y in l else 'No')
x,y=map(int,input().split()) l=[] for i in range(x+1): l.append(2*(x+i)) i+=1 print('Yes' if y in l else 'No')
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
352,509
352,510
u232462528
python
p02640
x, y = map(int, input().split()) c = 0 while x >= 0: if c * 2 + x * 4 == y: break c += 1 x -= 1 else: print("No") print("Yes")
x, y = map(int, input().split()) c = 0 while x >= 0: if c * 2 + x * 4 == y: break c += 1 x += -1 else: print("No") exit() print("Yes")
[ "expression.operator.change", "expression.operation.unary.add", "call.add" ]
352,511
352,512
u208512038
python
p02640
X, Y = map(int, input().split()) ans = [] for x in range(0,51): if Y == 4*x + 2*(X-x): ans = 1 if ans == 1: print("Yes") else: print("No")
X, Y = map(int, input().split()) ans = [] for x in range(0,X+1): if Y == 4*x + 2*(X-x): ans = 1 if ans == 1: print("Yes") else: print("No")
[ "identifier.replace.add", "literal.replace.remove", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
352,515
352,516
u561294476
python
p02640
X, Y = map(int, input().split()) ans = [] for x in range(0,51): if Y == 4*x + 2*(X-x-1): ans = 1 if ans == 1: print("Yes") else: print("No")
X, Y = map(int, input().split()) ans = [] for x in range(0,X+1): if Y == 4*x + 2*(X-x): ans = 1 if ans == 1: print("Yes") else: print("No")
[ "identifier.replace.add", "literal.replace.remove", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.loop.for.condition.change", "expression.operation.binary.remove" ]
352,517
352,516
u561294476
python
p02640
X, Y = map(int, input().split()) ans = [] for x in range(1,51): if Y == 4*x + 2*(X-x-1): ans = 1 if ans == 1: print("Yes") else: print("No")
X, Y = map(int, input().split()) ans = [] for x in range(0,X+1): if Y == 4*x + 2*(X-x): ans = 1 if ans == 1: print("Yes") else: print("No")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "identifier.replace.add", "literal.replace.remove", "control_flow.loop.range.bounds.upper.change", "control_flow.loop.for.condition.change", "expression.operation.binary.remove" ]
352,518
352,516
u561294476
python
p02640
x, y = int(map, input().split()) if(2*x <= y <= 4*x and y%2==0 and x <= 50): print("Yes") else: print("No")
x, y = map(int, input().split()) if(2*x <= y <= 4*x and y%2==0 and x <= 50): print("Yes") else: print("No")
[ "call.remove", "call.arguments.add" ]
352,520
352,521
u583276018
python
p02640
x, y = list(map(int, input().split())) yes = "Yes" no = "No" ans = no for i in range(y+1): s = (4 * i) + (2 * (x - i)) if (y == s): ans = yes break print(ans)
x, y = list(map(int, input().split())) yes = "Yes" no = "No" ans = no for i in range(x+1): s = (4 * i) + (2 * (x - i)) if (y == s): ans = yes break print(ans)
[ "identifier.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
352,528
352,529
u910536093
python
p02640
x, y = map(int, input().split()) yes = "Yes" no = "No" ans = no for i in range(x): s = (4 * i) + (2 * (x - i)) if (y == s): ans = yes break print(ans)
x, y = list(map(int, input().split())) yes = "Yes" no = "No" ans = no for i in range(x+1): s = (4 * i) + (2 * (x - i)) if (y == s): ans = yes break print(ans)
[ "call.add", "call.arguments.change" ]
352,530
352,529
u910536093
python
p02640
def main(): X, Y = map(int, input().split()) if((4 * X) < Y): print("No") else: turuNum = (Y - 2 * X) / 2 kameNum = X - turuNum if(turuNum.is_integer() and kameNum >= 0): print("Yes") else: print("No") if __name__ == "__main__": main()
def main(): X, Y = map(int, input().split()) if((4 * X) < Y): print("No") else: turuNum = (Y - 2 * X) / 2 kameNum = X - turuNum if(turuNum.is_integer() and kameNum >= 0 and turuNum >= 0): print("Yes") else: print("No") if __name__ == "__main...
[ "control_flow.branch.if.condition.change" ]
352,531
352,532
u790905630
python
p02640
X,Y=map(int,input().split()) re='No' for i in range(X): if (X-i)*2+(i*4)==Y: re='Yes' break print(re)
X,Y=map(int,input().split()) re='No' for i in range(X+1): if (X-i)*2+(i*4)==Y: re='Yes' break print(re)
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
352,539
352,540
u038819082
python
p02640
X,Y = map(int, input().split()) for kame in range(1,X): if (2*(X-kame)+4*kame)==Y: print("Yes") break else: print("No")
X,Y = map(int, input().split()) for kame in range(0,X+1): if (2*(X-kame)+4*kame)==Y: print("Yes") break else: print("No")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
352,541
352,542
u605161376
python
p02640
x, y = [int(i) for i in input().split()] for i in range(x+1): j = x-i if (i*2)+(j*4) == y: print("Yes") else: print("No")
x, y = [int(i) for i in input().split()] for i in range(x+1): j = x-i if i*2+j*4 == y: print("Yes") break else: print("No")
[ "control_flow.branch.if.condition.change", "control_flow.break.add" ]
352,543
352,544
u218216885
python
p02640
x, y = [int(i) for i in input().split()] for i in range(x+1): j = x-i if i*2+j*4 == y: print("Yes") else: print("No")
x, y = [int(i) for i in input().split()] for i in range(x+1): j = x-i if i*2+j*4 == y: print("Yes") break else: print("No")
[ "control_flow.break.add" ]
352,545
352,544
u218216885
python
p02640
A, B = map(int, input().split()) a=list(range(2*A,4*A,2)) if (B in a) == True: print('Yes') else: print('No')
A, B = map(int, input().split()) a=list(range(2*A,4*A+1,2)) #print(a) if (B in a) == True: print('Yes') else: print('No')
[ "control_flow.loop.range.bounds.upper.change", "assignment.change" ]
352,549
352,550
u250061066
python
p02640
x, y = map(int, input().split()) ans = 'No' for i in range(x): foot = 4*(i) + 2*(x-(i)) if foot==y: ans = 'Yes' print(ans)
x, y = map(int, input().split()) ans = 'No' for i in range(x+1): foot = 2*(i) + 4*(x-(i)) if foot==y: ans = 'Yes' print(ans)
[ "literal.number.integer.change", "assignment.value.change", "expression.operation.binary.change" ]
352,551
352,552
u616542081
python
p02640
x, y = map(int, input().split()) if y % 2 == 0 and (x * 2 <= y) and (x * 4 <= y): print('Yes') else: print('No')
x, y = map(int, input().split()) if y % 2 == 0 and (x * 2 <= y) and (x * 4 >= y): print('Yes') else: print('No')
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
352,563
352,564
u200228637
python
p02640
import math x, y = map(int, input().split()) a = (4 * x - y) / 2 if a >= 1 and a == math.ceil(a): print('Yes') else: print('No')
import math x, y = map(int, input().split()) a = (4 * x - y) / 2 if a >= 0 and a <= x and a == math.ceil(a): print('Yes') else: print('No')
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
352,607
352,608
u745223262
python
p02640
import sys if __name__ == "__main__": for line in sys.stdin: anis, legs = line.split(' ') if legs % 2 == 1 or legs > anis * 4 or legs < anis * 2: print("No") else: print("Yes")
import sys if __name__ == "__main__": for line in sys.stdin: anis, legs = map(int, line.split(' ')) if legs % 2 == 1 or legs > anis * 4 or legs < anis * 2: print("No") else: print("Yes")
[ "call.add", "call.arguments.change" ]
352,624
352,625
u051239215
python
p02640
def main(): c = input() c = c.split(' ') x = int(c[0]) y = int(c[1]) for i in range(1, 100): turu = i * 2 for j in range(1, 100): kame = j * 4 if turu + kame == y and i + j == x: print('Yes') return print('No') if __name__ == "__main__": main()
def main(): c = input() c = c.split(' ') x = int(c[0]) y = int(c[1]) for i in range(0, 100): turu = i * 2 for j in range(0, 100): kame = j * 4 if turu + kame == y and i + j == x: print('Yes') return print('No') if __name__ == "__main__": main()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
352,652
352,653
u174831560
python
p02640
x, y = map(int, input().split()) for a in range(0, x+1): b = x - a if a*2 + b*4 == y: ans = 'Yes' break print(ans)
x, y = map(int, input().split()) ans = 'No' for a in range(0, x+1): b = x - a if a*2 + b*4 == y: ans = 'Yes' break print(ans)
[ "assignment.add" ]
352,654
352,655
u806403461
python
p02640
import math from collections import deque from collections import defaultdict import itertools as it #自作関数群 def readInt(): return int(input()) def readInts(): return list(map(int, input().split())) def readChar(): return input() def readChars(): return input().split() def factorization(n): res = [] if n%2==0: ...
import math from collections import deque from collections import defaultdict import itertools as it #自作関数群 def readInt(): return int(input()) def readInts(): return list(map(int, input().split())) def readChar(): return input() def readChars(): return input().split() def factorization(n): res = [] if n%2==0: ...
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
352,656
352,657
u509739538
python
p02640
X, Y = list(map(int, input().split())) if (4 * X - Y) % 2 == 1: print("No") if (-2 * X + Y) % 2 == 1: print("No") turu = (4 * X - Y) // 2 kame = (-2 * X + Y) // 2 if turu < 0 or kame < 0: print("No") else: print("Yes")
X, Y = list(map(int, input().split())) if (4 * X - Y) % 2 == 1: print("No") exit() if (-2 * X + Y) % 2 == 1: print("No") exit() turu = (4 * X - Y) // 2 kame = (-2 * X + Y) // 2 if turu < 0 or kame < 0: print("No") else: print("Yes")
[ "call.add" ]
352,658
352,659
u513519822
python
p02640
X,Y = map(int,input().split()) T = False for i in range(1,X+1): p = X-i J= 2*i + 4*p if J ==Y: T = True if T == True: print("Yes") else: print("No")
X,Y = map(int,input().split()) T = False for i in range(0,X+1): p = X-i J= 2*i + 4*p if J ==Y: T = True if T == True: print("Yes") else: print("No")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
352,664
352,665
u027903950
python
p02640
x,y = map(int,input().split()) for a in range(0,101): if 4*x-2*a==y: print('Yes') break else: print('No')
x,y = map(int,input().split()) for a in range(x+1): if 4*x-2*a==y: print('Yes') break else: print('No')
[]
352,666
352,667
u020962106
python
p02640
x,y = map(int,input().split()) for a in range(1,101): if 4*x-2*a==y: print('Yes') break else: print('No')
x,y = map(int,input().split()) for a in range(x+1): if 4*x-2*a==y: print('Yes') break else: print('No')
[ "call.arguments.change" ]
352,668
352,667
u020962106
python
p02640
x, y =map(int, input().split()) def B(): for i in range(0,x): if 4*i+2*(x-i)-y==0: return 'Yes' return 'No' print(B())
x, y =map(int, input().split()) def B(): for i in range(0,x+1): if 4*i+2*(x-i)-y==0: return 'Yes' return 'No' print(B())
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
352,677
352,678
u545805271
python
p02640
x, y = map(int, input().split()) if y % 2 != 0: print('NO') else: if x*2<=y<=x*4: print('YES') else: print('NO')
x, y = map(int, input().split()) if y % 2 != 0: print('No') else: if x*2<=y<=x*4: print('Yes') else: print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
352,687
352,688
u968876625
python
p02640
X,Y = map(int, input().split()) ans = 0 if(Y<4*X and Y%2 == 0 and 2*X <= Y): ans = 1 else : ans = 0 if(ans == 0): print('No') elif(ans == 1): print('Yes')
X,Y = map(int, input().split()) ans = 0 if(Y<=4*X and Y%2 == 0 and 2*X <= Y): ans = 1 else : ans = 0 if(ans == 0): print('No') elif(ans == 1): print('Yes')
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
352,706
352,707
u175217658
python
p02640
import sys X, Y = map(int, input().split()) a = 2 * X if a == Y: print('Yes') sys.exit() for i in range(X+1): a = a + 2 if a == Y: print('Yes') sys.exit() print('No')
import sys X, Y = map(int, input().split()) a = 2 * X if a == Y: print('Yes') sys.exit() for i in range(X): a = a + 2 if a == Y: print('Yes') sys.exit() print('No')
[ "expression.operation.binary.remove" ]
352,712
352,713
u870576013
python
p02640
X, Y = map(int, input().split()) n = (X*4 - Y) / 2 if n >=0 and n <= Y and Y%2 ==0: print("Yes") else: print("No")
X, Y = map(int, input().split()) n = (X*4 - Y) / 2 if n >=0 and n <= X and Y%2 ==0: print("Yes") else: print("No")
[ "identifier.change", "control_flow.branch.if.condition.change" ]
352,718
352,719
u455809703
python
p02640
x, y = map(int, input().split()) ans = 'No' for t in range(y): c = x - t if 4*t + 2*c == y: ans = 'Yes' print(ans)
x, y = map(int, input().split()) ans = 'No' for t in range(0, x+1): c = x - t if 4*t + 2*c == y: ans = 'Yes' print(ans)
[ "identifier.replace.remove", "literal.replace.add", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add" ]
352,720
352,721
u363080243
python
p02640
x, y = map(int, input().split()) ans = 'No' for t in range(0, y): c = x - t if 4*t + 2*c == y: ans = 'Yes' print(ans)
x, y = map(int, input().split()) ans = 'No' for t in range(0, x+1): c = x - t if 4*t + 2*c == y: ans = 'Yes' print(ans)
[ "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
352,722
352,721
u363080243
python
p02640
x, y = map(int, input().split()) print('Yes' if y%2 == 0 and x <= y//2 and y // 4 <= x else 'No')
x, y = map(int, input().split()) print('Yes' if y%2 == 0 and x <= y/2 and y / 4 <= x else 'No')
[ "expression.operator.arithmetic.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
352,726
352,727
u644516473
python
p02640
x,y = map(int,input().split()) for i in range(x+1): asi = 0 for j in range(x+1): if i + j > x: break asi = i * 4 + j * 2 if asi == y: print("Yes") exit() print("No")
x,y = map(int,input().split()) for i in range(x+1): asi = 0 for j in range(x+1): if i + j != x: continue asi = i * 4 + j * 2 if asi == y: print("Yes") exit() print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "control_flow.break.remove", "control_flow.continue.add" ]
352,730
352,731
u655110382
python
p02640
x, y = map(int, input().split()) ans = 'No' for i in range(x + 1): j = x - a if (j*2 + i*4 == y): ans = "Yes" print(ans)
x, y = map(int, input().split()) ans = 'No' for i in range(x + 1): j = x - i if (j*2 + i*4 == y): ans = "Yes" print(ans)
[ "assignment.value.change", "identifier.change", "expression.operation.binary.change" ]
352,732
352,733
u734252743
python
p02640
X,Y=map(int,input().split()) if(Y%2==0 & 2*X<=Y<=4*X): print('Yes') else: print('No')
X,Y=map(int,input().split()) if(Y%2==0 and 2*X<=Y<=4*X): print('Yes') else: print('No')
[ "control_flow.branch.if.condition.change" ]
352,744
352,745
u632757234
python
p02640
X,Y=map(int,input.split()) if(Y%2==0 and 2*X<=Y<=4*X): print('Yes') else: print('No')
X,Y=map(int,input().split()) if(Y%2==0 and 2*X<=Y<=4*X): print('Yes') else: print('No')
[ "call.add" ]
352,746
352,745
u632757234
python
p02640
X,Y=map(int,input.split()) if(Y%2 & 2*X<=Y<=4*X): print('Yes') else: print('No')
X,Y=map(int,input().split()) if(Y%2==0 and 2*X<=Y<=4*X): print('Yes') else: print('No')
[ "call.add", "control_flow.branch.if.condition.change" ]
352,748
352,745
u632757234
python
p02640
x,y = map(int, input().split()) i = 'yes' if x * 2 <= y <= x * 4 and y % 2 == 0 else 'no' print(i)
x,y = map(int, input().split()) i = 'Yes' if x * 2 <= y <= x * 4 and y % 2 == 0 else 'No' print(i)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
352,763
352,764
u854405453
python
p02640
X, Y = map(int, input().split()) for i in range(X+1): if (2*i + 4*(X - i)) == Y: print("Yes") break else: print("No") break
X, Y = map(int, input().split()) for i in range(X+1): if (2*i + 4*(X - i)) == Y: print("Yes") break else: print("No")
[ "control_flow.break.remove" ]
352,775
352,776
u552533086
python
p02640
X, Y = map(int, input().split()) for i in range(X+1): if 2*i +4(X - i) == Y: print("Yes") else: print("No")
X, Y = map(int, input().split()) for i in range(X+1): if (2*i + 4*(X - i)) == Y: print("Yes") break else: print("No")
[ "control_flow.branch.if.condition.change", "control_flow.break.add" ]
352,777
352,776
u552533086
python
p02640
x,y=map(int,input().strip().split()) if x*4<y and x*2>y: print("No") elif y%2!=0: print("No") else: print("Yes")
x,y=map(int,input().strip().split()) if x*4<y or x*2>y: print("No") elif y%2!=0: print("No") else: print("Yes")
[ "control_flow.branch.if.condition.change" ]
352,778
352,779
u206541745
python
p02640
x,y=map(int,input().strip().split()) if x*4<y and x*2<y: print("No") elif y%2!=0: print("No") else: print("Yes")
x,y=map(int,input().strip().split()) if x*4<y or x*2>y: print("No") elif y%2!=0: print("No") else: print("Yes")
[ "control_flow.branch.if.condition.change", "misc.opposites", "expression.operator.compare.change" ]
352,780
352,779
u206541745
python
p02640
x,y=map(int,input().strip().split()) if x*4<y: print("No") elif y%2!=0: print("No") else: print("Yes")
x,y=map(int,input().strip().split()) if x*4<y or x*2>y: print("No") elif y%2!=0: print("No") else: print("Yes")
[ "control_flow.branch.if.condition.change" ]
352,781
352,779
u206541745
python
p02640
x,y=map(int,input().split()) for i in range(x+1): if i*2+(x-i)*4==y: print("Yes") print("No")
x,y=map(int,input().split()) for i in range(x+1): if i*2+(x-i)*4==y: print("Yes") exit() print("No")
[ "call.add" ]
352,786
352,787
u730807152
python
p02640
X, Y = map(int, input().split()) add = 0 flag =0 for i in range(X): add = i*4 + (X-i)*2 if add == Y: print('Yes') flag = 1 break if flag == 0: print('No')
X, Y = map(int, input().split()) add = 0 flag =0 for i in range(X+1): add = i*4 + (X-i)*2 if add == Y: print('Yes') flag = 1 break if flag == 0: print('No')
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
352,791
352,792
u048013400
python
p02640
X, Y = map(int, input().split()) add = 0 flug =0 for i in range(X): add = i*4 + (X-i)*2 if add == Y: print('Yes') flag = 1 break if flag == 0: print('No')
X, Y = map(int, input().split()) add = 0 flag =0 for i in range(X+1): add = i*4 + (X-i)*2 if add == Y: print('Yes') flag = 1 break if flag == 0: print('No')
[ "assignment.variable.change", "identifier.change" ]
352,793
352,792
u048013400
python
p02640
X, Y = map(int,input().split()) sum = 0 flug =0 for i in range(X): sum = i*4 + (X-i)*2 if sum == Y: print('Yes') flag = 1 break if flag == 0: print('No')
X, Y = map(int, input().split()) add = 0 flag =0 for i in range(X+1): add = i*4 + (X-i)*2 if add == Y: print('Yes') flag = 1 break if flag == 0: print('No')
[ "assignment.variable.change", "identifier.change", "control_flow.branch.if.condition.change" ]
352,794
352,792
u048013400
python
p02640
a = list(map(int,input().split())) if a[1] % 2 == 1 : print("NO") else : if a[0] * 2 <= a[1] and a[0]*4 >= a[1] : print("YES") else : print("NO")
a = list(map(int,input().split())) if a[1] % 2 == 1 : print("No") else : if a[0] * 2 <= a[1] and a[0]*4 >= a[1] : print("Yes") else : print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
352,815
352,816
u127025777
python
p02640
X,Y= map(int,input().split()) x = 2*X-Y//2 y = Y//2-X if Y%2 ==1: print("No") elif x>=0 and y>=0: print("Yes") else: print("Yes")
X,Y= map(int,input().split()) x = 2*X-Y//2 y = Y//2-X if Y%2 ==1: print("No") elif x>=0 and y>=0: print("Yes") else: print("No")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
352,817
352,818
u105659451
python
p02640
x,y = map(int,input().split()) for a in range(1,x+1): f = 2*a+4*(x-a) if f == y : print("Yes") break else : print("No")
x,y = map(int,input().split()) for a in range(x+1): f = 2*a+4*(x-a) if f == y : print("Yes") break else : print("No")
[ "call.arguments.change" ]
352,822
352,823
u453623947
python
p02640
x,y = map(int,input().split()) for a in range(1,x+1): if 2*a+4*(x-a)==y : print("Yes") break else : print("No")
x,y = map(int,input().split()) for a in range(x+1): f = 2*a+4*(x-a) if f == y : print("Yes") break else : print("No")
[ "call.arguments.change", "assignment.variable.change", "control_flow.branch.if.add" ]
352,824
352,823
u453623947
python
p02640
X, Y = map(int, input().split()) if Y % 2 != 0: print("No") exit(0) for i in range(X): if (X - i) * 2 + i * 4 == Y: print("Yes") exit(0) print("No")
X, Y = map(int, input().split()) if Y % 2 != 0: print("No") exit(0) for i in range(X + 1): if (X - i) * 2 + i * 4 == Y: print("Yes") exit(0) print("No")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
352,829
352,830
u422723821
python
p02640
x,y = map(int,input().split()) if y>2*x and (y-2*x)%2==0 and (x>=(y-2*x)//2): print("Yes") else : print("No")
x,y = map(int,input().split()) if y>=2*x and (y-2*x)%2==0 and (x>=(y-2*x)//2): print("Yes") else : print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
352,831
352,832
u210987097
python
p02640
x,y = map(int,input().split()) b=abs(y-2*x) if b==0: print('Yes') elif b<0: print('No') elif b%2!=0: print('No') elif x >=b/2: print('Yes') else: print('No')
x,y = map(int,input().split()) b=y-2*x if b==0: print('Yes') elif b<0: print('No') elif b%2!=0: print('No') elif x >=b/2: print('Yes') else: print('No')
[ "call.remove", "call.arguments.change" ]
352,843
352,844
u362031378
python
p02640
x,y = map(int,input().split()) b=abs(y-2*x) if b==0: print('Yes') elif b<0: print('No') elif b%2!=0: print('No') elif y >=b/2: print('Yes') else: print('No')
x,y = map(int,input().split()) b=y-2*x if b==0: print('Yes') elif b<0: print('No') elif b%2!=0: print('No') elif x >=b/2: print('Yes') else: print('No')
[ "call.remove", "call.arguments.change", "identifier.change", "control_flow.branch.if.condition.change" ]
352,845
352,844
u362031378
python
p02640
import sys x,y = map(int,input().split()) n=x for i in range(1,x+1): a=2*i+4*(x-i) if y==a : print("Yes") sys.exit() print("No")
import sys x,y = map(int,input().split()) n=x for i in range(x+1): a=2*i+4*(x-i) if y==a : print("Yes") sys.exit() print("No")
[ "call.arguments.change" ]
352,855
352,856
u679089074
python
p02640
x, y = map(int, input().split()) c=0 for i in range(1, x+1): if 2*i + 4*(x-i) == y: print('Yes') c+=1 break if c==0: print('No')
x, y = map(int, input().split()) c=0 for i in range(0, x+1): if 2*i + 4*(x-i) == y: print('Yes') c+=1 break if c==0: print('No')
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
352,873
352,874
u449580152
python
p02640
x, y = map(int, input().split()) cnt = 0 if x == 1: if y == 2 or y == 4: print('Yes') else: print('No') else: for i in range(x): if i*4 + (x-i)*2 == y: cnt = 1 break else: cnt = 0 if cnt == 0: print('No') else: ...
x, y = map(int, input().split()) cnt = 0 if x == 1: if y == 2 or y == 4: print('Yes') else: print('No') else: for i in range(x+1): if i*4 + (x-i)*2 == y: cnt = 1 break else: cnt = 0 if cnt == 0: print('No') else: ...
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
352,882
352,883
u175746978
python
p02640
x, y = map(int, input().split()) cnt = 0 if x == 1: if y == 2 or y == 4: print('Yes') else: print('No') else: for i in range(1, x+1): if i*4 + (x-i)*2 == y: cnt = 1 break else: cnt = 0 if cnt == 0: print('No') else:...
x, y = map(int, input().split()) cnt = 0 if x == 1: if y == 2 or y == 4: print('Yes') else: print('No') else: for i in range(x+1): if i*4 + (x-i)*2 == y: cnt = 1 break else: cnt = 0 if cnt == 0: print('No') else: ...
[ "call.arguments.change" ]
352,884
352,883
u175746978
python
p02640
x,y = map(int,input().split()) #if (2*x)<y: z=y-(2*x) #12本足りない z=12 a=z/2 #a=6 亀に変身する鶴の数 if a<=x and a>=0 and z%2==0: print('yes') else: print('No')
x,y = map(int,input().split()) #if (2*x)<y: z=y-(2*x) #12本足りない z=12 a=z/2 #a=6 亀に変身する鶴の数 if a<=x and a>=0 and z%2==0: print('Yes') else: print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
352,885
352,886
u799107696
python
p02640
x,y = map(int,input().split()) #if (2*x)<y: z=y-(2*x) #12本足りない z=12 a=z/2 #a=6 亀に変身する鶴の数 if a<=x and a>=0 and z%2==0: print('yes') else: print('no')
x,y = map(int,input().split()) #if (2*x)<y: z=y-(2*x) #12本足りない z=12 a=z/2 #a=6 亀に変身する鶴の数 if a<=x and a>=0 and z%2==0: print('Yes') else: print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
352,887
352,886
u799107696
python
p02640
from sys import stdin,stdout x,y=map(int,stdin.readline().split()) if y&1: print('No') exit(0) t=y//2-1 c=x-t ans='Yes' if c>0 and t>0 else 'No' print(ans)
from sys import stdin,stdout x,y=map(int,stdin.readline().split()) if y&1: print('No') exit(0) t=(y//2)-x c=x-t ans='Yes' if c>=0 and t>=0 else 'No' print(ans)
[ "assignment.value.change", "identifier.replace.add", "literal.replace.remove", "expression.operation.binary.change", "expression.operator.compare.change" ]
352,911
352,912
u920463220
python
p02640
from sys import stdin,stdout x,y=map(int,stdin.readline().split()) if y&1: print('No') exit(0) t=y//2-1 c=x-t ans='Yes' if c>=0 and t>=0 else 'No' print(ans)
from sys import stdin,stdout x,y=map(int,stdin.readline().split()) if y&1: print('No') exit(0) t=(y//2)-x c=x-t ans='Yes' if c>=0 and t>=0 else 'No' print(ans)
[ "assignment.value.change", "identifier.replace.add", "literal.replace.remove", "expression.operation.binary.change" ]
352,913
352,912
u920463220
python
p02640
x, y = [int(i) for i in input().split()] a = (4*x-y)/2 b = (y-2*x)/2 ret = (int(a) == a and int(b) == b) and (0<= a and 0 <= y) print('Yes' if ret else 'No')
x, y = [int(i) for i in input().split()] a = (4*x-y)/2 b = (y-2*x)/2 ret = (int(a) == a and int(b) == b) and (0<= a and 0 <= b) print('Yes' if ret else 'No')
[ "assignment.value.change", "identifier.change" ]
352,941
352,942
u003142309
python
p02640
X,Y=map(int, input().split()) if Y%2==0 and 4*X>=Y>=X: print("Yes") else: print("No")
X,Y=map(int, input().split()) if Y%2==0 and 4*X>=Y>=2*X: print("Yes") else: print("No")
[ "control_flow.branch.if.condition.change" ]
352,943
352,944
u610633714
python
p02640
n, legs= map(int, input().split(" ")) x = (legs - 2*n)/2 y = (4*n - legs)/2 if x%1==0 and y%1==0 and (x>0 or y>0): print('Yes') else: print('No')
n, legs= map(int, input().split(" ")) x = (legs - 2*n)/2 y = (4*n - legs)/2 if x%1==0 and y%1==0 and (x>=0 and y>=0): print('Yes') else: print('No')
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
352,954
352,955
u382169668
python
p02640
n, legs= map(int, input().split(" ")) x = (legs - 2*n)/2 y = (4*n - legs)/2 if x%1==0 and y%1==0 and x>0 and y>0: print('Yes') else: print('No')
n, legs= map(int, input().split(" ")) x = (legs - 2*n)/2 y = (4*n - legs)/2 if x%1==0 and y%1==0 and (x>=0 and y>=0): print('Yes') else: print('No')
[ "control_flow.branch.if.condition.change", "expression.operator.compare.change" ]
352,956
352,955
u382169668
python
p02640
n, legs= map(int, input().split(" ")) x = (legs - 2*n)/2 y = (4*n - legs)/2 if X%1==0 and y%1==0 and x>0 and y>0: print('Yes') else: print('No')
n, legs= map(int, input().split(" ")) x = (legs - 2*n)/2 y = (4*n - legs)/2 if x%1==0 and y%1==0 and (x>=0 and y>=0): print('Yes') else: print('No')
[ "identifier.change", "control_flow.branch.if.condition.change", "expression.operator.compare.change" ]
352,957
352,955
u382169668
python
p02640
int2=tuple(map(int,input().split())) t=0 for a in range(0,int2[0]): for b in range(0,int2[0]): if a+b==int2[0] and 2*a+4*b==int2[1]: t+=1 break if t==0: print("No") else: print("Yes")
int2=tuple(map(int,input().split())) t=0 for a in range(0,int2[0]+1): for b in range(0,int2[0]+1): if a+b==int2[0] and 2*a+4*b==int2[1]: t+=1 break if t==0: print("No") else: print("Yes")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
352,960
352,961
u778152252
python
p02640
X,Y = map(int, input().split()) if Y % 2 == 1: print("No") result_list = [] for a in range(X+1): result_list.append(2 * a + 4 * (X - a) == Y) if any(result_list): print('Yes') else: print('No')
X,Y = map(int, input().split()) if Y % 2 == 1: print("No") else: result_list = [] for a in range(X+1): result_list.append(2 * a + 4 * (X - a) == Y) if any(result_list): print('Yes') else: print('No')
[]
352,967
352,968
u460399356
python
p02640
x,y = map(int,input().split()) for i in range(1,x+1): if 2*i + 4*(x-i) == y: print("Yes") exit() else: print("No")
x,y = map(int,input().split()) for i in range(0,x+1): if 2*i + 4*(x-i) == y: print("Yes") exit() else: print("No")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
352,971
352,972
u972658925
python
p02640
x,y = map(int,input().split()) for i in range(1,101): if 2*i + 4*(x-i) == y: print("Yes") exit() else: print("No")
x,y = map(int,input().split()) for i in range(0,x+1): if 2*i + 4*(x-i) == y: print("Yes") exit() else: print("No")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "identifier.replace.add", "literal.replace.remove", "control_flow.loop.range.bounds.upper.change" ]
352,973
352,972
u972658925
python
p02640
X, Y = map(int, input().split()) test = ((4 * X) - Y) / 2 ans = ((4 * X) - Y) % 2 if ans == 0 and test >= 0: print('Yes') else: print('No')
X, Y = map(int, input().split()) test = ((4 * X) - Y) / 2 ans = ((4 * X) - Y) % 2 if ans == 0 and test >= 0 and test <= X: print('Yes') else: print('No')
[ "control_flow.branch.if.condition.change" ]
352,989
352,990
u875871419
python
p02640
x, y = input().split() x = int(x) y = int(y) def check(x, y): # 動物の可能性を考える for i in range(0, x): # 2本足,4本足の動物の数 leg2_animal = i leg4_animal = x - leg2_animal # 全体の足の数を数えてみる sum_legs = leg2_animal * 2 + leg4_animal * 4 if sum_legs == y: print...
x, y = input().split() x = int(x) y = int(y) def check(x, y): # 動物の可能性を考える for i in range(0, x+1): # 2本足,4本足の動物の数 leg2_animal = i leg4_animal = x - leg2_animal # 全体の足の数を数えてみる sum_legs = leg2_animal * 2 + leg4_animal * 4 if sum_legs == y: pri...
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
352,998
352,999
u179365960
python
p02640
x, y = input().split() x = int(x) y = int(y) def check(x, y): # 動物の可能性を考える for i in range(0, x): # 2本足,4本足の動物の数 leg2_animal = i+1 leg4_animal = x - leg2_animal # 全体の足の数を数えてみる sum_legs = leg2_animal * 2 + leg4_animal * 4 if sum_legs == y: pri...
x, y = input().split() x = int(x) y = int(y) def check(x, y): # 動物の可能性を考える for i in range(0, x+1): # 2本足,4本足の動物の数 leg2_animal = i leg4_animal = x - leg2_animal # 全体の足の数を数えてみる sum_legs = leg2_animal * 2 + leg4_animal * 4 if sum_legs == y: pri...
[ "expression.operation.binary.remove" ]
353,000
352,999
u179365960
python
p02640
x, y = input().split() x = int(x) y = int(y) def check(x, y): # 動物の可能性を考える for i in range(0, x): # 2本足,4本足の動物の数 leg2_animal = i+1 leg4_animal = x - leg2_animal # 全体の足の数を数えてみる sum_legs = leg2_animal * 2 + leg4_animal * 4 if sum_legs == y: pri...
x, y = input().split() x = int(x) y = int(y) def check(x, y): # 動物の可能性を考える for i in range(0, x+1): # 2本足,4本足の動物の数 leg2_animal = i leg4_animal = x - leg2_animal # 全体の足の数を数えてみる sum_legs = leg2_animal * 2 + leg4_animal * 4 if sum_legs == y: pri...
[ "expression.operation.binary.remove" ]
353,001
352,999
u179365960
python
p02640
s = input() lst = s.split() ex1 = int(lst[0]) ex2 = int(lst[1]) ret = "no" for i in range(ex1+1): if 4 * (ex1 - i) + 2 * i == ex2: ret= "yes" print(ret)
s = input() lst = s.split() ex1 = int(lst[0]) ex2 = int(lst[1]) ret = "No" for i in range(ex1+1): if 4 * (ex1 - i) + 2 * i == ex2: ret= "Yes" print(ret)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
353,002
353,003
u706377526
python
p02640
# coding: utf-8 # Your code here! x, y = list(map(int, input().split())) if(y > x*4): print("no") elif(y/2 < x): print("No") else: if(y%2 == 1): print("No") else: print("Yes")
# coding: utf-8 # Your code here! x, y = list(map(int, input().split())) if(y > x*4): print("No") elif(y/2 < x): print("No") else: if(y%2 == 1): print("No") else: print("Yes")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,006
353,007
u498465804
python
p02640
x,y = map(int,input().split()) if y % 2 != 0: print("NO") elif y % 2 == 0: s = "A" for i in range(0,101): for j in range(0,101): if 2*i + 4*j == y and i + j == x: print("YES") exit() else: s = "NO" print(s)
x,y = map(int,input().split()) if y % 2 != 0: print("No") elif y % 2 == 0: s = "A" for i in range(0,101): for j in range(0,101): if 2*i + 4*j == y and i + j == x: print("Yes") exit() else: s = "No" print(s)
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change", "assignment.value.change" ]
353,016
353,017
u005569385
python
p02640
def main(): x, y = list(map(int, input().split())) for i in range(0, x+1): if i * 2 + x-i * 4 == y or x-i * 4 + i * 2 == y: print('Yes') exit() print('No') if __name__ == '__main__': main()
def main(): x, y = list(map(int, input().split())) for i in range(0, x+1): if i * 2 + (x-i) * 4 == y or (x-i) * 4 + i * 2 == y: print('Yes') exit() print('No') if __name__ == '__main__': main()
[ "control_flow.branch.if.condition.change" ]
353,018
353,019
u755180064
python
p02640
def main(): x, y = list(map(int, input().split())) for i in range(0, x+1): if i * 2 + x-1 * 4 == y or x-i * 4 + i * 2 == y: print('Yes') exit() print('No') if __name__ == '__main__': main()
def main(): x, y = list(map(int, input().split())) for i in range(0, x+1): if i * 2 + (x-i) * 4 == y or (x-i) * 4 + i * 2 == y: print('Yes') exit() print('No') if __name__ == '__main__': main()
[ "control_flow.branch.if.condition.change", "identifier.replace.add", "literal.replace.remove" ]
353,020
353,019
u755180064
python
p02640
X, Y = map(int, input().split()) t = Y - 2*X u = 4*X - Y if (t >= 2) & (t % 2 == 0) & (u >= 2) & (u % 2 == 0): print("Yes") else: print("No")
X, Y = map(int, input().split()) t = Y - 2*X u = 4*X - Y if (t >= 0) & (t % 2 == 0) & (u >= 0) & (u % 2 == 0): print("Yes") else: print("No")
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
353,021
353,022
u556657484
python
p02640
x,y=map(int,input().split()) for i in range(x): if (x-i)*2+i*4==y: print("Yes") exit() print("No")
x,y=map(int,input().split()) for i in range(x+1): if (x-i)*2+i*4==y: print("Yes") exit() print("No")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,023
353,024
u068750695
python