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 | x,y=map(int,input().split())
cnt=0
for i in range(x):
if 2*i+4*(x-i)==y:
cnt+=1
if cnt==0:
print('No')
else:
print('Yes') | x,y=map(int,input().split())
cnt=0
for i in range(x+1):
if 2*i+4*(x-i)==y:
cnt+=1
if cnt==0:
print('No')
else:
print('Yes')
| [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,453 | 350,454 | u800058906 | python |
p02640 | X, Y = [int(v) for v in input().split()]
ans = "No"
for c in range(X + 1):
t = X - c
if 2 * c + 3 * t == Y:
ans = "Yes"
break
print(ans) | X, Y = [int(v) for v in input().split()]
ans = "No"
for c in range(X + 1):
t = X - c
if 2 * c + 4 * t == Y:
ans = "Yes"
break
# if ans == "No":
# for t in range(X + 1):
# c = X - t
# if 2 * c + 3 * t == Y:
# ans = "Yes"
# break
print(ans) | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 350,455 | 350,456 | u357120030 | python |
p02640 | x,y = map(int, input().split())
ans = 'false'
for i in range(1,x+1):
if y == 2*i + 4*(x-i):
ans = 'true'
break
if ans == 'true':
print('Yes')
else:
print('No') | x,y = map(int, input().split())
ans = 'false'
for i in range(0,x+1):
if y == 2*i + 4*(x-i):
ans = 'true'
break
if ans == 'true':
print('Yes')
else:
print('No') | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.lower.change"
] | 350,457 | 350,458 | u471320955 | python |
p02640 | X,Y = map(int,input().split())
Max = X*4
while Max >= Y:
if Max == Y:
print('Yes')
exit()
Max -= 2
print('No')
| X,Y = map(int,input().split())
Max = X*4
while Max >= X*2:
if Max == Y:
print('Yes')
exit()
Max -= 2
print('No') | [
"control_flow.loop.condition.change"
] | 350,461 | 350,462 | u768636516 | python |
p02640 | import sys
x, y = map(int, input().split())
ans = 0
for i in range(1, x):
if y == i*2 + (x - i)* 4:
ans = 1
break
if ans == 1:
print("Yes")
else:
print("No")
| import sys
x, y = map(int, input().split())
ans = 0
for i in range(x+1):
if y == i*2 + (x - i)* 4:
ans = 1
break
if ans == 1:
print("Yes")
else:
print("No") | [
"call.arguments.change"
] | 350,467 | 350,468 | u987846648 | python |
p02640 | import sys
x, y = map(int, input().split())
ans = 0
for i in range(x):
if y == i*2 + (x - i)* 4:
ans = 1
break
if ans == 1:
print("Yes")
else:
print("No") | import sys
x, y = map(int, input().split())
ans = 0
for i in range(x+1):
if y == i*2 + (x - i)* 4:
ans = 1
break
if ans == 1:
print("Yes")
else:
print("No") | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,469 | 350,468 | u987846648 | python |
p02640 | x,y=map(int,input().split())
ans=0
for n in range(x+1):
if n*2+(x-n)*4==y:
ans=1
break
if ans==0:
print('Yes')
else:
print('No') | x,y=map(int,input().split())
ans=0
for n in range(x+1):
if n*2+(x-n)*4==y:
ans=1
break
if ans==1:
print('Yes')
else:
print('No') | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 350,476 | 350,477 | u969081133 | python |
p02640 | x, y = map(int, input().split())
print('Yes' if any(x * 2 + i * 2 for i in range(x + 1)) else 'No')
| x, y = map(int, input().split())
print('Yes' if any(x * 2 + i * 2 == y for i in range(x + 1)) else 'No')
| [] | 350,478 | 350,479 | u222668979 | python |
p02640 | ans = "No"
x,y = map(int, input().split())
for i in range(x):
if 2*i + 4*(x-i) == y:
ans = "Yes"
print(ans) | ans = "No"
x,y = map(int, input().split())
for i in range(x+1):
if 2*i + 4*(x-i) == y:
ans = "Yes"
print(ans) | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,480 | 350,481 | u682894596 | python |
p02640 | x,y = map(int,input().split())
for i in range(x):
if 2 * i + 4 * (x - i) == y:
print('Yes')
sys.exit()
print('No') | x,y = map(int,input().split())
for i in range(x+1):
if 2 * i + 4 * (x - i) == y:
print('Yes')
exit()
print('No') | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,506 | 350,507 | u303344598 | python |
p02640 | import sys
x,y = map(int,input().split())
#2a+4b =y
#a+b =x
#b=x-a
#y =2a+4(x-a)=4x-2a
for i in range(x):
if y == 4*x-2*i:
print("Yes")
sys.exit()
else:
print("No")
| import sys
x,y = map(int,input().split())
#2a+4b =y
#a+b =x
#b=x-a
#y =2a+4(x-a)=4x-2a
for i in range(x+1):
if y == 4*x-2*i:
print("Yes")
sys.exit()
else:
print("No")
| [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,508 | 350,509 | u550146922 | python |
p02640 | a, b = map(int, input().split())
for i in range(a+1):
if i * 2 + (a+1-i) * 4 ==b:
print('Yes')
exit()
print('No')
| a, b = map(int, input().split())
for i in range(a+1):
if i*2 + (a-i)*4 == b:
print('Yes')
exit()
print('No') | [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove"
] | 350,516 | 350,517 | u969848070 | python |
p02640 | x,y = list(map(int,input().split()))
if ((4 * x) - y) % 2 == 0 and y >= 2 * x and y >= 4 * x:
print('Yes')
else:
print('No') | x,y = list(map(int,input().split()))
if ((4 * x) - y) % 2 == 0 and y >= 2 * x and y <= 4 * x:
print('Yes')
else:
print('No') | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 350,524 | 350,525 | u414376763 | python |
p02640 | import sys
X ,Y = map(int,input().split())
for i in range(1, X+1):
if 2*i + 4*(X-i) == Y:
print("Yes")
sys.exit()
print("No")
| import sys
x,y = map(int,input().split())
for i in range(0,x+1):
if 2*i + 4*(x-i) == y:
print("Yes")
sys.exit()
print("No")
| [
"assignment.variable.change",
"identifier.change",
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.lower.change",
"expression.operation.binary.change",
"control_flow.loop.range.bounds.upper.change",
"control_flow.branch.if.condition.change"
] | 350,529 | 350,530 | u129749062 | python |
p02640 | import sys
X ,Y = map(int,input().split())
for i in range(1, X+1):
if 2*i + 4*(X-i) == Y:
print("Yes")
sys.exit()
print("No")
| import sys
X ,Y = map(int,input().split())
for i in range(0, X+1):
if 2*i + 4*(X-i) == Y:
print("Yes")
sys.exit()
print("No")
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.lower.change"
] | 350,529 | 350,531 | u129749062 | python |
p02640 | x, y = map(int, input().split())
for i in range(1, x+1):
if i * 2 + (x - i) * 4 == y:
print('Yes')
exit()
print('No') | x, y = map(int, input().split())
for i in range(0, x+1):
if i * 2 + (x - i) * 4 == y:
print('Yes')
exit()
print('No') | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.lower.change"
] | 350,532 | 350,533 | u663116324 | python |
p02640 | from math import floor,ceil,sqrt,factorial,log
from collections import Counter, deque
from functools import reduce
import numpy as np
def S(): return input()
def I(): return int(input())
def MS(): return map(str,input().split())
def MI(): return map(int,input().split())
def FLI(): return [int(i) for i in input().split(... | from math import floor,ceil,sqrt,factorial,log
from collections import Counter, deque
from functools import reduce
import numpy as np
def S(): return input()
def I(): return int(input())
def MS(): return map(str,input().split())
def MI(): return map(int,input().split())
def FLI(): return [int(i) for i in input().split(... | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,538 | 350,539 | u215286521 | python |
p02640 | x,y = map(int,input().split())
ans = 'No'
for i in range(x+1) :
j = x-i
if i*2+j*3 == y :
ans = 'Yes'
print(ans) | x,y = map(int,input().split())
ans = 'No'
for i in range(x+1) :
j = x-i
if i*2+j*4 == y :
ans = 'Yes'
print(ans)
| [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 350,544 | 350,545 | u454557108 | python |
p02640 | x, y = map(int, input().split())
ans = 'No'
for a in range(x+1):
b = x-a
if 2*a+4*b == Y:
ans = 'Yes'
print(ans) | x, y = map(int, input().split())
ans = 'No'
for a in range(x+1):
b = x-a
if 2*a+4*b == y:
ans = 'Yes'
print(ans) | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 350,546 | 350,547 | u017829818 | python |
p02640 | def main():
x, y = map(int, input().split())
b = (y - 2*x) / 2
a = (4*x - y) / 2
b1 = (y - 2*x) % 2
a1 = (4*x - y) % 2
print(a,b)
if a1 == 0 and b1 == 0 and a >= 0 and b >= 0:
print("Yes")
else:
print("No")
if __name__ == '__main__':
main()
| def main():
x, y = map(int, input().split())
b = (y - 2*x) / 2
a = (4*x - y) / 2
b1 = (y - 2*x) % 2
a1 = (4*x - y) % 2
if a1 == 0 and b1 == 0 and a >= 0 and b >= 0:
print("Yes")
else:
print("No")
if __name__ == '__main__':
main()
| [
"call.remove"
] | 350,548 | 350,549 | u671060652 | python |
p02640 | x, y = map(int,input().split())
for i in range(x):
if 4*i + 2*(x-i) == y:
print("Yes")
break
else:
print("No") | x, y = map(int,input().split())
for i in range(x+1):
if 4*i + 2*(x-i) == y:
print("Yes")
break
else:
print("No")
| [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,552 | 350,553 | u073646027 | python |
p02640 | import sys
input = sys.stdin.readline
x,y=list(map(int,input().split()))
a = (y-2*x)/2
print('Yes' if a == int(a) and a<=x else 'No')
| import sys
input = sys.stdin.readline
x,y=list(map(int,input().split()))
a = (y-2*x)/2
print('Yes' if a == int(a) and 0<=a<=x else 'No')
| [] | 350,564 | 350,565 | u706414019 | python |
p02640 | x, y = map(int, input().split())
for i in range(1, x+1):
if i*4+(x-i)*2 == y:
print("Yes")
break
else:
print("No")
| x, y = map(int, input().split())
for i in range(0, x+1):
if i*4+(x-i)*2 == y:
print("Yes")
break
else:
print("No")
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.lower.change"
] | 350,574 | 350,575 | u375695365 | python |
p02640 | def main():
na, nl = (int(i) for i in input().split())
nc = (4*na - nl) / 2
pos = nc == int(nc) and nc >= 0 and nc <= na
if pos:
print('Yes')
else:
print('No')
| def main():
na, nl = (int(i) for i in input().split())
nc = (4*na - nl) / 2
pos = (nc == int(nc) and nc >= 0 and nc <= na)
if pos:
print('Yes')
else:
print('No')
main()
| [
"call.add"
] | 350,578 | 350,579 | u091307273 | python |
p02640 | def main():
na, nl = (int(i) for i in input().split())
nc = (4*na - nl) / 2
pos = nc == int(nc) and nc >= 0 and nc <= x
if pos:
print('Yes')
else:
print('No')
main()
| def main():
na, nl = (int(i) for i in input().split())
nc = (4*na - nl) / 2
pos = (nc == int(nc) and nc >= 0 and nc <= na)
if pos:
print('Yes')
else:
print('No')
main()
| [
"assignment.value.change",
"identifier.change"
] | 350,580 | 350,579 | u091307273 | python |
p02640 | a,b=map(int,input().split())
k=[]
j=a+1
for i in range(a-1):
k.append(2*j)
j=j+1
if(b in k):
print('Yes')
else:
print('No') | a,b=map(int,input().split())
k=[]
j=a
for i in range(a+1):
k.append(2*j)
j=j+1
#print(k)
if(b in k):
print('Yes')
else:
print('No') | [
"expression.operation.binary.remove",
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"control_flow.loop.range.bounds.upper.change"
] | 350,581 | 350,582 | u107494228 | python |
p02640 | X, Y = map(int, input().split())
ans = 'No'
for i in X:
j = X - i
if (i * 2 + j * 4) == Y:
ans = 'Yes'
print(ans) | X, Y = map(int, input().split())
ans = 'No'
for i in range(X+1):
j = X - i
if (i * 2 + j * 4) == Y:
ans = 'Yes'
print(ans) | [
"call.add",
"call.arguments.add"
] | 350,604 | 350,605 | u635329504 | python |
p02640 | x, y = map(int, input().split())
answer = "No"
for i in range(x + 1):
b = x - i
if a * 2 + b * 4 == y:
answer = "Yes"
print(answer)
| x, y = map(int, input().split())
answer = "No"
for i in range(x + 1):
j = x - i
if i * 2 + j * 4 == y:
answer = "Yes"
print(answer)
| [
"assignment.variable.change",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 350,609 | 350,610 | u842054747 | python |
p02640 | x, y = map(int, input().split())
answer = "No"
for i in range(x + 1):
y = x - i
if a * 2 + b * 4 == y:
answer = "Yes"
print(answer) | x, y = map(int, input().split())
answer = "No"
for i in range(x + 1):
j = x - i
if i * 2 + j * 4 == y:
answer = "Yes"
print(answer)
| [
"assignment.variable.change",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 350,611 | 350,610 | u842054747 | python |
p02640 | X, Y = map(int, input().split())
ans = 'No'
for i in range(X):
if 2*i + 4*(X-i) == Y:
ans = 'Yes'
break
print(ans) | X, Y = map(int, input().split())
# 全ての組を探索すればよい
ans = 'No'
for i in range(X+1):
if 2*i + 4*(X-i) == Y:
ans = 'Yes'
break
print(ans) | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,638 | 350,639 | u309120194 | python |
p02640 | X, Y = map(int, input().split())
ans = 'No'
for i in range(X):
if 2*i + 4*(X-i) == Y:
ans = 'Yes'
break
print(ans) | X, Y = map(int, input().split())
ans = 'No'
for i in range(X+1):
if 2*i + 4*(X-i) == Y:
ans = 'Yes'
break
print(ans) | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,638 | 350,640 | u309120194 | python |
p02640 | x, y = map(int, input().split())
flag = 0
for i in range(1,x+1):
if 2*i + 4*(x-i) == y:
flag = 1
print('Yes')
break
else:
continue
if flag == 0:
print('No') | x, y = map(int, input().split())
flag = 0
for i in range(x+1):
if 2*i + 4*(x-i) == y:
flag = 1
print('Yes')
break
else:
continue
if flag == 0:
print('No') | [
"call.arguments.change"
] | 350,646 | 350,647 | u198336369 | python |
p02640 | x, y = map(int, input().split())
flag = 0
for i in range(x):
if 2*i + 4*(x-i) == y:
flag = 1
print('Yes')
break
else:
continue
if flag == 0:
print('No') | x, y = map(int, input().split())
flag = 0
for i in range(x+1):
if 2*i + 4*(x-i) == y:
flag = 1
print('Yes')
break
else:
continue
if flag == 0:
print('No') | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,648 | 350,647 | u198336369 | python |
p02640 | a=0
X,Y=map(int,input().split())
for i in range(1,X+1):
for j in range(1,X+1-i):
if 2*i+j*4==Y and i+j==X:
a=1
if a==1:
print('Yes')
else:
print('No') | a=0
X,Y=map(int,input().split())
for i in range(X+1):
for j in range(X+1-i):
if 2*i+j*4==Y and i+j==X:
a=1
if a==1:
print('Yes')
else:
print('No') | [
"call.arguments.change"
] | 350,651 | 350,652 | u827261928 | python |
p02640 | X, Y = map(int, input().split())
ans='No'
if Y % 2 == 0 and 0 <= (4 * X - Y) / 2 <= X:
ans='Yes'
exit(0)
print(ans) | X, Y = map(int, input().split())
ans='No'
if Y % 2 == 0 and 0 <= (4 * X - Y) / 2 <= X:
ans='Yes'
print(ans) | [
"call.remove"
] | 350,657 | 350,658 | u888933875 | python |
p02640 | X, Y = map(int, input().split())
ans='No'
if Y % 2 == 0 and 0 <= (4 * X - Y) / 2 <= X:
ans='Yes'
exit()
print(ans) | X, Y = map(int, input().split())
ans='No'
if Y % 2 == 0 and 0 <= (4 * X - Y) / 2 <= X:
ans='Yes'
print(ans) | [
"call.remove"
] | 350,659 | 350,658 | u888933875 | python |
p02640 | x,y = map(int,input().split())
ans="No"
for i in range(x):
if i*2+4*(x-i)==y:
ans="Yes"
break
print(ans) | x,y = map(int,input().split())
ans="No"
for i in range(x+1):
if i*2+4*(x-i)==y:
ans="Yes"
break
print(ans)
| [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,664 | 350,665 | u731362892 | python |
p02640 | x, y = map(int, input().split())
flg = -1
for i in range(1, x + 1):
if y == -2*i + 4*x:
flg = 1
if flg == 1:
print('Yes')
else:
print('No') | x, y = map(int, input().split())
flg = -1
for i in range(x + 1):
if y == -2*i + 4*x:
flg = 1
if flg == 1:
print('Yes')
else:
print('No') | [
"call.arguments.change"
] | 350,666 | 350,667 | u567351889 | python |
p02640 | x, y =map(int,input().split())
for i in range(x):
if (i+1)*2 + (x-i-1)*4 ==y:
print('Yes')
break
else:
print('No')
| x, y =map(int,input().split())
for i in range(x+1):
if (i)*2 + (x-i)*4 ==y:
print('Yes')
break
else:
print('No') | [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove"
] | 350,671 | 350,672 | u464912173 | python |
p02640 | x, y =map(int,input().split())
for i in range(x):
if i*2 + (x-i)*4 ==y:
print('Yes')
break
else:
print('No')
| x, y =map(int,input().split())
for i in range(x+1):
if (i)*2 + (x-i)*4 ==y:
print('Yes')
break
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 350,673 | 350,672 | u464912173 | python |
p02640 | X, Y = map(int, input().split())
ans = 'No'
if Y % 2 != 0:
ans = 'No'
else:
for i in range(X):
a = X - i
if a * 2 + i * 4 == Y:
ans = 'Yes'
break
print(ans) | X, Y = map(int, input().split())
ans = 'No'
if Y % 2 != 0:
ans = 'No'
else:
for i in range(X+1):
a = X - i
if a * 2 + i * 4 == Y:
ans = 'Yes'
break
print(ans) | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,676 | 350,677 | u827765795 | python |
p02640 | x,y = map(int,input().split())
ans = 'No'
for i in range(x+1):
tu = i
cr = x - i
ch = tu*4 + cr*2
print(i,ch)
if ch == y:
ans = 'Yes'
break
print(ans) | x,y = map(int,input().split())
ans = 'No'
for i in range(x+1):
tu = i
cr = x - i
ch = tu*4 + cr*2
if ch == y:
ans = 'Yes'
break
print(ans) | [
"call.remove"
] | 350,693 | 350,694 | u714931250 | python |
p02640 | x,y = map(int,input().split())
ans = 'No'
for i in range(x):
tu = i
cr = x - i
ch = tu*4 + cr*2
if ch == y:
ans = 'Yes'
break
print(ans) | x,y = map(int,input().split())
ans = 'No'
for i in range(x+1):
tu = i
cr = x - i
ch = tu*4 + cr*2
if ch == y:
ans = 'Yes'
break
print(ans) | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,695 | 350,694 | u714931250 | python |
p02640 | x,y = map(int, input().split())
print("Yes" if (x % 2 == 0) and y >= 2*x and y <= 4*x else "No") | x,y = map(int, input().split())
print("Yes" if (y % 2 == 0) and y >= 2*x and y <= 4*x else "No")
| [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 350,698 | 350,699 | u491462774 | python |
p02640 | a,b = map(int,input().split())
c="入力が間違っています。"
d="鶴が"
e="匹で、亀が"
f="匹です。"
k=b//2-a
t=2*a-b//2
if k<0 or t<0 or b%2!=0:
print('Yes')
else:
print('No') | a,b = map(int,input().split())
c="入力が間違っています。"
d="鶴が"
e="匹で、亀が"
f="匹です。"
k=b//2-a
t=2*a-b//2
if k<0 or t<0 or b%2!=0:
print('No')
else:
print('Yes') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 350,700 | 350,701 | u763177133 | python |
p02640 | x,y = map(int, input().split())
z = 'No'
for i in range(1,x+1):
if 2*i + 4*(x-i) == y:
z = 'Yes'
break
print(z) | x,y = map(int, input().split())
z = 'No'
for i in range(x+1):
if 2*i + 4*(x-i) == y:
z = 'Yes'
break
print(z) | [
"call.arguments.change"
] | 350,713 | 350,714 | u249987458 | python |
p02640 | x, y = list(map(int,input().split()))
ans = y / 2 - x
if y % 2 == 0:
print("No")
elif ans <= x:
print("Yes")
else:
print("No")
| x, y = list(map(int,input().split()))
ans = y / 2 - x
if y % 2 == 1:
print("No")
elif 0 <= ans <= x:
print("Yes")
else:
print("No")
| [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 350,727 | 350,728 | u736443076 | python |
p02640 | x, y = list(map(int,input().split()))
ans = y / 2 - x
if y % 2 == 1:
print("No")
elif ans <= x:
print("Yes")
else:
print("No")
| x, y = list(map(int,input().split()))
ans = y / 2 - x
if y % 2 == 1:
print("No")
elif 0 <= ans <= x:
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 350,729 | 350,728 | u736443076 | python |
p02640 | x, y = list(map(int,input().split()))
ans = y / 2 - x
if y % 2 != 0:
print("No")
elif ans <= x:
print("Yes")
else:
print("No") | x, y = list(map(int,input().split()))
ans = y / 2 - x
if y % 2 == 1:
print("No")
elif 0 <= ans <= x:
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 350,730 | 350,728 | u736443076 | python |
p02640 | x, y = list(map(int,input().split()))
ans = y / 2 - x
if y % 2 == 0 and 1 <= ans <= x:
print("Yes")
else:
print("No")
| x, y = list(map(int,input().split()))
ans = y / 2 - x
if y % 2 == 0 and 0 <= ans <= x:
print("Yes")
else:
print("No")
| [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 350,731 | 350,732 | u736443076 | python |
p02640 | x, y = list(map(int, input().split()))
end = False
for i in range(x+1):
if 4*i + 2*(x-1) == y:
print("Yes")
end = True
break
if end == False:
print("No") | x, y=map(int, input().split())
end = False
for i in range(x+1):
if 4*i + 2*(x-i) == y:
print("Yes")
end = True
break
if end == False:
print("No") | [
"call.remove",
"call.arguments.change",
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 350,742 | 350,743 | u582489208 | python |
p02640 | x, y = map(int, input().split())
if y % 2 == 0 and y >= 2*x and y <= 4*x:
print('yes')
else:
print('no') | x, y = map(int, input().split())
if y % 2 == 0 and y >= 2*x and y <= 4*x:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 350,753 | 350,754 | u994865749 | python |
p02640 | n,m=map(int,input().split())
if(m%2==1):
print("No")
elif(2*n<=m and m>=4*n):
print("Yes")
else:
print("No")
| n,m=map(int,input().split())
if(m%2==1):
print("No")
elif(2*n<=m and m<=4*n):
print("Yes")
else:
print("No")
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 350,757 | 350,758 | u512551187 | python |
p02640 | n,m=map(int,input().split())
if(m%2==1):
print("No")
elif(2*n>=m and m<=4*n):
print("Yes")
else:
print("No") | n,m=map(int,input().split())
if(m%2==1):
print("No")
elif(2*n<=m and m<=4*n):
print("Yes")
else:
print("No")
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 350,759 | 350,758 | u512551187 | python |
p02640 | x, y = map(int, input().split())
for i in range(x + 1):
if (i * 2 + (x - 1) * 4) == y:
print('Yes')
exit()
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') | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 350,760 | 350,761 | u704751556 | python |
p02640 | x,y=map(int,input().split())
ans=0
for i in range(1,x+1):
if i*2+4*(x-i)==y:
ans+=1
if ans!=0:
print('Yes')
else:
print('No') | x,y=map(int,input().split())
ans=0
for i in range(0,x+1):
if i*2+4*(x-i)==y:
ans+=1
if ans!=0:
print('Yes')
else:
print('No') | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.lower.change"
] | 350,762 | 350,763 | u819362132 | python |
p02640 | x,y = map(int, input().split())
if y-2*x >= 0 and (y-2*x)%2 == 0 and (y-2*x)//2 < x:
print("Yes")
else:
print("No") | x,y = map(int, input().split())
if y-2*x >= 0 and (y-2*x)%2 == 0 and (y-2*x)//2 <= x:
print("Yes")
else:
print("No") | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 350,772 | 350,773 | u239091426 | python |
p02640 | X,Y=map(int,input().split())
now = 4*X
end = 2*X
while(now>end):
if now==Y:
print("Yes")
exit()
now-=2
print("No") | X,Y=map(int,input().split())
now = 4*X
end = 2*X
while(now>=end):
if now==Y:
print("Yes")
exit()
now-=2
print("No") | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 350,776 | 350,777 | u204842730 | python |
p02640 | x,y=map(int,input().split())
if 2*x<=y and y<=4*x and y&2==0:
print("Yes")
else:
print("No") | x,y=map(int,input().split())
if 2*x<=y and y<=4*x and y%2==0:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 350,785 | 350,786 | u288881685 | python |
p02640 | x, y = map(int, input().split())
ans = 0
for i in range(0, x):
# i is the number of the crane
rest = y - (2 * i)
if rest / 4 == x - i:
print('Yes')
ans = 1
break
if ans == 0:
print('No')
| x, y = map(int, input().split())
ans = 0
for i in range(0, x + 1):
# i is the number of the crane
rest = y - (2 * i)
if rest / 4 == x - i:
print('Yes')
ans = 1
break
if ans == 0:
print('No')
| [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,790 | 350,791 | u536685012 | python |
p02640 | x, y = list(map(int,input().split()))
for i in range(x):
n = x - i
s = 2 * n + 4 * i
if s == y:
print("Yes")
exit()
print("No") | x, y = list(map(int,input().split()))
for i in range(x+1):
n = x - i
s = 2 * n + 4 * i
if s == y:
print("Yes")
exit()
print("No") | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,794 | 350,795 | u840570107 | python |
p02640 | import sys
x, y = map(int, input().split())
for i in range(1,x + 1):
if (i * 2) + ( (x - i) * 4) == y:
print('Yes')
sys.exit()
print('No') | import sys
x, y = map(int, input().split())
for i in range(x + 1):
if (i * 2) + ( (x - i) * 4) == y:
print('Yes')
sys.exit()
print('No') | [
"call.arguments.change"
] | 350,832 | 350,833 | u740784649 | python |
p02640 | import sys
x, y = map(int, input().split())
for i in range(1,x):
if (i * 2) + ( (x - i) * 4) == y:
print('Yes')
sys.exit()
print('No') | import sys
x, y = map(int, input().split())
for i in range(x + 1):
if (i * 2) + ( (x - i) * 4) == y:
print('Yes')
sys.exit()
print('No') | [
"call.arguments.change"
] | 350,834 | 350,833 | u740784649 | python |
p02640 | x, y = map(int,input().split())
min = 2 * x
gap = y - min
if gap < 0 & gap > min:
print("No")
else:
if gap % 2 == 0:
print("Yes")
else:
print("No")
| x, y = map(int,input().split())
min = 2 * x
gap = y - min
if gap < 0 or gap > min:
print("No")
else:
if gap % 2 == 0:
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 350,837 | 350,838 | u405534002 | python |
p02640 | x,y = map(int,input().split())
l = []
c = 2 * x
l.append(c)
for nn in range(x):
c += 2
l.append(c)
print(l)
flag = False
for ll in l:
if ll == y:
print("Yes")
flag = False
break
else:
flag = True
if flag:
print("No") | x,y = map(int,input().split())
l = []
c = 2 * x
l.append(c)
for nn in range(x):
c += 2
l.append(c)
flag = False
for ll in l:
if ll == y:
print("Yes")
flag = False
break
else:
flag = True
if flag:
print("No") | [
"call.remove"
] | 350,845 | 350,846 | u285497176 | python |
p02640 | X, Y = map(int, input().split())
if Y%2==1 or 4*X<Y:
print("No")
else:
print("Yes")
| X, Y = map(int, input().split())
if Y%2==1 or 4*X<Y or 2*X>Y:
print("No")
else:
print("Yes")
| [
"control_flow.branch.if.condition.change"
] | 350,860 | 350,861 | u372802746 | python |
p02640 | a,b=[int(x) for x in input().split(" ")]
x=(b-2*a)/2
y=(4*a-b)/2
print("Yes" if x>0 and y>0 and x%1==0.0 and y%1==0.0 else "No")
| a,b=[int(x) for x in input().split(" ")]
x=(b-2*a)/2
y=(4*a-b)/2
print("Yes" if x>=0 and y>=0 and x%1==0.0 and y%1==0.0 else "No")
| [
"expression.operator.compare.change",
"call.arguments.change",
"io.output.change"
] | 350,865 | 350,866 | u629201777 | python |
p02640 | X, Y= map(int,input().split())
a=2*X
b=(Y-a)/2
c=X-b
if(2*c+4*b==Y and (Y-a)%2==0 and c>=0):
print("Yes")
else:
print("No") | X, Y= map(int,input().split())
a=2*X
b=(Y-a)/2
c=X-b
if(2*c+4*b==Y and (Y-a)%2==0 and c>=0 and b>=0):
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 350,870 | 350,871 | u753854665 | python |
p02640 | x, y= map(int, input().split())
for i in range(x):
if 2*i+4*(x-i)==y:
print("Yes")
exit(0)
print("No")
| x, y= map(int, input().split())
for i in range(x+1):
if 2*i+4*(x-i)==y:
print("Yes")
exit(0)
print("No")
| [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,872 | 350,873 | u310956674 | python |
p02640 | x, y = map(int, input().split())
# kame = x - turu
# 2*turu + 4*kame = y
# 2*turu + 4*(x - turu) = y
# -2*turu + 4x - y = 0
# turu = 2x - 1/2*y
turu = 2*x - 1/2*y
print(turu)
if(turu.is_integer() and turu >= 0 and (x-turu) >= 0):
print("Yes")
else:
print("No")
| x, y = map(int, input().split())
# kame = x - turu
# 2*turu + 4*kame = y
# 2*turu + 4*(x - turu) = y
# -2*turu + 4x - y = 0
# turu = 2x - 1/2*y
turu = 2*x - 1/2*y
if(turu.is_integer() and turu >= 0 and (x-turu) >= 0):
print("Yes")
else:
print("No")
| [
"call.remove"
] | 350,895 | 350,896 | u053749071 | python |
p02640 | x, y = map(int, input().split())
# kame = x - turu
# 2*turu + 4*kame = y
# 2*turu + 4*(x - turu) = y
# -2*turu + 4x - y = 0
# turu = 2x - 1/2*y
turu = 2*x - 1/2*y
if(turu.is_integer and turu >= 0 and (x-turu) >= 0):
print("Yes")
else:
print("No")
| x, y = map(int, input().split())
# kame = x - turu
# 2*turu + 4*kame = y
# 2*turu + 4*(x - turu) = y
# -2*turu + 4x - y = 0
# turu = 2x - 1/2*y
turu = 2*x - 1/2*y
if(turu.is_integer() and turu >= 0 and (x-turu) >= 0):
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change",
"call.add"
] | 350,897 | 350,896 | u053749071 | python |
p02640 | tmp = input().split(" ")
total = int(tmp[0])
leg = int(tmp[1])
if leg % 2 == 0 and 4 * total > leg > 2 * total:
print("Yes")
else:
print("No")
| tmp = input().split(" ")
total = int(tmp[0])
leg = int(tmp[1])
if leg % 2 == 0 and 4 * total >= leg >= 2 * total:
print("Yes")
else:
print("No") | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 350,919 | 350,920 | u739843002 | python |
p02640 | import sys
x,y = map(int,input().split())
for n in range(x+1):
kame = x - n
tsuru_leg = n*2
kame_leg = kame*4
if y == tsuru_leg + kame_leg:
print('yes')
sys.exit()
print('no') | import sys
x,y = map(int,input().split())
for n in range(x+1):
kame = x - n
tsuru_leg = n*2
kame_leg = kame*4
if y == tsuru_leg + kame_leg:
print('Yes')
sys.exit()
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 350,921 | 350,922 | u087844555 | python |
p02640 | a,b=map(int,input().split())
c=0
for i in range (1,a+1):
for j in range (1,a+1-i):
if (i+j)==a and (i*2 + j *4) == b:
c+=1
if c== 0:
print('No')
else:
print('Yes') | a,b=map(int,input().split())
c=0
for i in range (0,a+1):
for j in range (0,a+1):
if (i+j)==a and (i*2 + j *4) == b:
c+=1
if c== 0:
print('No')
else:
print('Yes') | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.lower.change",
"expression.operation.binary.remove"
] | 350,923 | 350,924 | u087118202 | python |
p02640 | x, y = map(int, input().split())
check = y % 2 == 0 and y <= 4 * x
print("Yes" if check else "No") | x, y = map(int, input().split())
check = y % 2 == 0 and 2 * x <= y <= 4*x
print("Yes" if check else "No") | [] | 350,929 | 350,930 | u119655368 | python |
p02640 | X, Y = map(int, input().split())
Z = X * 4 - Y
if Z % 2 == 0 and X >= Z >= 0:
print('Yes')
else:
print('No') | X, Y = map(int, input().split())
Z = X * 4 - Y
if Z % 2 == 0 and X * 2 >= Z >= 0:
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 350,933 | 350,934 | u217571418 | python |
p02640 | X, Y = map(int, input().split())
Z = X * 4 - Y
if Z % 2 == 0 and Z >= 0:
print('Yes')
else:
print('No') | X, Y = map(int, input().split())
Z = X * 4 - Y
if Z % 2 == 0 and X * 2 >= Z >= 0:
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 350,935 | 350,934 | u217571418 | python |
p02640 | def solve(x, y):
# |x| = |p + q | = | 1 1 | |p|
# |y| |2p + 4q| | 2 4 | |q|
# <=>
# |p| = 1/2 | 4 -1| |x| = (4x - y)/2
# |q| |-2 1| |y| (-2x +y)/2
p2 = 4 * x - y
q2 = -2 * x + y
if p2 % 2 == 0 and q2 % 2 == 0 and p2 > 0 and q2 > 0:
return "Yes"
return "No"
... | def solve(x, y):
# |x| = |p + q | = | 1 1 | |p|
# |y| |2p + 4q| | 2 4 | |q|
# <=>
# |p| = 1/2 | 4 -1| |x| = (4x - y)/2
# |q| |-2 1| |y| (-2x +y)/2
p2 = 4 * x - y
q2 = -2 * x + y
if p2 % 2 == 0 and q2 % 2 == 0 and p2 >= 0 and q2 >= 0:
return "Yes"
return "No"... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 350,936 | 350,937 | u330912904 | python |
p02640 | a,b=map(int,input().split())
if(b%2==0):
if(2*a<=b<=4*b):
print("Yes")
else:
print("No")
else:
print("No") | a,b=map(int,input().split())
if(b%2==0):
if(2*a<=b<=4*a):
print("Yes")
else:
print("No")
else:
print("No") | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 350,940 | 350,941 | u856726960 | python |
p02640 | n_all,leg_all=map(int, input().split())
for i in range(n_all):
leg_kame=2*(n_all-i)
leg_turu=4*i
if leg_kame+leg_turu==leg_all:
print('Yes')
break
else:
continue
else:(print('No')) | n_all,leg_all=map(int, input().split())
for i in range(n_all+1):
leg_kame=2*(n_all-i)
leg_turu=4*i
if leg_kame+leg_turu==leg_all:
print('Yes')
break
else:
continue
else:(print('No'))
| [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 350,950 | 350,951 | u066866468 | python |
p02640 | X, Y = map(int, input().split(' '))
if Y % 2 == 0 and 0 < 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"
] | 350,955 | 350,956 | u418149936 | python |
p02640 | X, Y = map(int, input().split(' '))
if Y % 2 == 0 and 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"
] | 350,957 | 350,956 | u418149936 | python |
p02640 | a = input()
a = a.split()
x = int(a[0])
y = int(a[1])
if y >= x * 2 and y <= x * 4 and y % 2 == 0:
print("yes")
else:
print("no") | a = input()
a = a.split()
x = int(a[0])
y = int(a[1])
if y >= x * 2 and y <= x * 4 and y % 2 == 0:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 350,962 | 350,963 | u116939152 | python |
p02640 | x, y = map(int, input().split())
ans = "No"
for a in range(0,x + 1):
if 2 * a + 4 * (y - a):
ans = "Yes"
break
print(ans) | x, y = map(int, input().split())
ans = "No"
for a in range(0,x + 1):
if 2 * a + 4 * (x - a) == y:
ans = "Yes"
break
print(ans) | [
"identifier.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 350,973 | 350,974 | u031722966 | python |
p02640 | X, Y = map(int, input().split())
b = (Y - 2*X)/2
a = X - b
print(a, b)
is_int = (a.is_integer() and b.is_integer())
is_positive = (a >= 0 and b >= 0)
if is_int and is_positive and (a + b) == X and (2*a + 4*b) == Y:
print("Yes")
else:
print("No")
| X, Y = map(int, input().split())
b = (Y - 2*X)/2
a = X - b
is_int = (a.is_integer() and b.is_integer())
is_positive = (a >= 0 and b >= 0)
if is_int and is_positive and (a + b) == X and (2*a + 4*b) == Y:
print("Yes")
else:
print("No") | [
"call.remove"
] | 350,975 | 350,976 | u286422818 | python |
p02640 | X, Y = map(int,input().split())
if Y%2!=0:
print('No')
exit()
turu = (4*X-Y)/2
kame = (Y-2*X)/2
if turu > 0 and turu.is_integer() and kame > 0 and kame.is_integer():
print('Yes')
else:
print('No') | X, Y = map(int,input().split())
if Y%2!=0:
print('No')
exit()
turu = (4*X-Y)/2
kame = (Y-2*X)/2
if turu >= 0 and turu.is_integer() and kame >= 0 and kame.is_integer():
print('Yes')
else:
print('No') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 350,992 | 350,993 | u690419532 | python |
p02640 | x, y = map(int, input().split())
for a in range(x+1):
b = x - a
if a*2 + b*4 == y:
print('Yes')
else:
print('No') | x, y = map(int, input().split())
for a in range(x+1):
b = x - a
if a*2 + b*4 == y:
print('Yes')
break
else:
print('No')
| [
"control_flow.break.add"
] | 351,001 | 351,002 | u863371419 | python |
p02640 | x, y = map(int,input().split())
count = 0
for i in range(x):
for j in range(x):
if (i*2 + j*4 )== y and (i + j) == x:
count +=1
if count == 0:
print("No")
else:
print("Yes")
| x, y = map(int,input().split())
count = 0
for i in range(x+1):
for j in range(x+1):
if (i*2 + j*4 )== y and (i + j) == x:
count +=1
if count == 0:
print("No")
else:
print("Yes")
| [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 351,003 | 351,004 | u122495382 | python |
p02640 | data=input().split()
x=int(data[0])
y=int(data[1])
if (y%2 != 0) and (y-2*x >= 0) and ((y-2*x)/2 <=x):
print('Yes')
else:
print('No') | data=input().split()
x=int(data[0])
y=int(data[1])
if (y%2 == 0) and (y-2*x >= 0) and ((y-2*x)/2 <=x):
print('Yes')
else:
print('No') | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 351,013 | 351,014 | u887080361 | python |
p02640 | x, y = map(int, input().split())
flag = True
for a in range(101):
if 2*a + 4*(x-a) == y:
print("Yes")
flag = False
break
if flag:
print("No")
| x, y = map(int, input().split())
flag = True
for a in range(x+1):
if 2*a + 4*(x-a) == y:
print("Yes")
flag = False
break
if flag:
print("No") | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 351,015 | 351,016 | u807021746 | python |
p02640 | x, y=map(int, input().split())
flag = True
for a in range(101):
if 2*a + 4*(x-a) == y:
print("Yes")
flag = False
break
if flag:
print("No") | x, y = map(int, input().split())
flag = True
for a in range(x+1):
if 2*a + 4*(x-a) == y:
print("Yes")
flag = False
break
if flag:
print("No") | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 351,017 | 351,016 | u807021746 | python |
p02640 | #n = int(input())
x, y = map(int, input().split())
#l = list(map(int, input().split()))
#s = input()
ans = "No"
for i in range(x+1):
if 2*i+4*x == y:
ans = "Yes"
print(ans)
| #n = int(input())
x, y = map(int, input().split())
#l = list(map(int, input().split()))
#s = input()
ans = "No"
for i in range(x+1):
if 2*i+4*(x-i) == y:
ans = "Yes"
print(ans)
| [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 351,039 | 351,040 | u330799501 | python |
p02640 | #n = int(input())
x, y = map(int, input().split())
#l = list(map(int, input().split()))
#s = input()
ans = "Yes"
for i in range(x+1):
if 2*i+4*x == y:
ans = "No"
print(ans)
| #n = int(input())
x, y = map(int, input().split())
#l = list(map(int, input().split()))
#s = input()
ans = "No"
for i in range(x+1):
if 2*i+4*(x-i) == y:
ans = "Yes"
print(ans)
| [
"literal.string.change",
"assignment.value.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 351,041 | 351,040 | u330799501 | python |
p02640 | #!/usr/bin/env python3
# Generated by https://github.com/kyuridenamida/atcoder-tools
from typing import *
import itertools
import math
import sys
INF = float('inf')
YES = "Yes" # type: str
NO = "No" # type: str
def solve(X: int, Y: int):
return [YES, NO][not 2*X <= Y <= 4*X and Y % 2 == 0]
def main():
s... | #!/usr/bin/env python3
# Generated by https://github.com/kyuridenamida/atcoder-tools
from typing import *
import itertools
import math
import sys
INF = float('inf')
YES = "Yes" # type: str
NO = "No" # type: str
def solve(X: int, Y: int):
return [YES, NO][not (2*X <= Y <= 4*X and Y % 2 == 0)]
def main():
... | [
"function.return_value.change"
] | 351,044 | 351,045 | u646336881 | python |
p02640 | x,y=map(int,input().split())
ans='No'
for i in range(x+1):
j=x-i
if 2*x+4*j==y:
ans='Yes'
print(ans) | x,y=map(int,input().split())
ans='No'
for a in range(x+1):
j=x-a
if 2*a+4*j==y:
ans='Yes'
print(ans) | [
"identifier.change",
"assignment.value.change",
"expression.operation.binary.change",
"control_flow.branch.if.condition.change"
] | 351,052 | 351,053 | u275726913 | python |
p02640 | x, y = input().split()
crane = float(x)*2 - float(y)/2
turtle = float(x) - crane
if crane.is_integer() == True:
if crane > 0 and turtle > 0:
print('Yes')
else:
print('No')
else:
print('No') | x, y = input().split()
crane = float(x)*2 - float(y)/2
turtle = float(x) - crane
if crane.is_integer() == True:
if crane >= 0 and turtle >= 0:
print('Yes')
else:
print('No')
else:
print('No') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 351,054 | 351,055 | u274005011 | python |
p02640 | x,y = int(input().split())
if y % 2 == 1:
print("No")
elif 2 * x <= y <= 4 * x:
print("Yes")
else:
print("No") | x,y = map(int, input().split())
if y % 2 == 1:
print("No")
elif 2 * x <= y <= 4 * x:
print("Yes")
else:
print("No") | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.add"
] | 351,073 | 351,074 | u598684283 | python |
p02640 | def main():
x, y = map(int, input().split())
for i in range(x):
j = x - i
if i * 2 + j * 4 == y:
print("Yes")
return
print("No")
main()
| def main():
x, y = map(int, input().split())
for i in range(x+1):
j = x - i
if i * 2 + j * 4 == y:
print("Yes")
return
print("No")
main()
| [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 351,075 | 351,076 | u743420240 | python |
p02640 | def main():
x, y = map(int, input().split())
for i in range(1, x+1):
j = x - i
if i * 2 + j * 4 == y:
print("Yes")
return
print("No")
main()
| def main():
x, y = map(int, input().split())
for i in range(x+1):
j = x - i
if i * 2 + j * 4 == y:
print("Yes")
return
print("No")
main()
| [
"call.arguments.change"
] | 351,077 | 351,076 | u743420240 | python |
p02640 | x,y=map(int,input().split())
ans=0
for i in range(1,x+1):
if y==i*2+(x-i)*4:
ans+=1
break
if ans==1: print("Yes")
else: print("No") | x,y=map(int,input().split())
ans=0
for i in range(x+1):
if y==i*2+(x-i)*4:
ans+=1
break
if ans==1: print("Yes")
else: print("No") | [
"call.arguments.change"
] | 351,080 | 351,081 | u921617614 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.