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
a, b = list(map(int,input().split())) z= 0 if b% 2!=0: print("No") else: while a>=0: c = a*2+z*4 if c ==b: print("Yes") quit() a-=1 z+=1 print("No")
a, b = list(map(int,input().split())) z= 0 if b% 2!=0: print("No") quit() else: while a>=0: c = a*2+z*4 if c ==b: print("Yes") quit() a-=1 z+=1 print("No")
[ "call.add" ]
353,034
353,035
u948875995
python
p02640
num = input().split() x = int(num[0]) y = int(num[1]) cr = ((4 * x) - y) / 2 tur = (y - (2 * x)) / 2 if cr - int(cr) == 0 and tur - int(tur) == 0 and tur > 0 and cr > 0: if cr + tur == x and (2 * cr) + (4 * tur) == y: print("Yes") else: print("No")
num = input().split() x = int(num[0]) y = int(num[1]) cr = ((4 * x) - y) / 2 tur = (y - (2 * x)) / 2 if cr - int(cr) == 0 and tur - int(tur) == 0 and tur >= 0 and cr >= 0: if cr + tur == x and (2 * cr) + (4 * tur) == y: print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
353,040
353,041
u497158316
python
p02640
N, M = map(int,input().split()) for i in range(1, N+1): # 足の数 f = 2 * i + 4 * (N - i) if f == M: print("Yes") break else: print("No")
N, M = map(int,input().split()) for i in range(0, N+1): f = 2 * i + 4 * (N - i) if f == M: print("Yes") break else: print("No")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
353,053
353,054
u803569902
python
p02640
(x,y)= input().split() x = int(x) y = int(y) for i in range (x): if 4*i + 2*(x-i) == y: print("Yes") break else: print("No")
(x,y)= input().split() x = int(x) y = int(y) 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" ]
353,062
353,063
u779389113
python
p02640
X, Y = map(int, input().split()) for T in range(100): for K in range(100): if (T+K) == X and (2*T) + (4*K) == Y: print("YES") exit() print("NO")
X, Y = map(int, input().split()) for T in range(100): for K in range(100): if (T+K) == X and (2*T) + (4*K) == Y: print("Yes") exit() print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,068
353,069
u855967722
python
p02640
x,y = map(int,input().split()) import sys if x == 1 and y == 2: print('Yes') elif x == 1 and y == 4: print('Yes') else: for i in range(1,x+1): tmp = i*2+(4*(x-i)) if tmp == y: print('Yes') sys.exit() print('No')
x,y = map(int,input().split()) import sys if x == 1 and y == 2: print('Yes') elif x == 1 and y == 4: print('Yes') else: for i in range(x+1): tmp = i*2+(4*(x-i)) if tmp == y: print('Yes') sys.exit() print('No')
[ "call.arguments.change" ]
353,070
353,071
u849229491
python
p02640
x,y = map(int,input().split()) import sys if x == 1 and y == 2: print('Yes') elif x == 1 and y == 4: print('Yes') else: for i in range(1,x+1): tmp = i*2+(4*(x-i)) if tmp == y: print('Yes') sys.exit() print('No')
x,y = map(int,input().split()) import sys if x == 1 and y == 2: print('Yes') elif x == 1 and y == 4: print('Yes') else: for i in range(x+1): tmp = i*2+(4*(x-i)) if tmp == y: print('Yes') sys.exit() print('No')
[ "call.arguments.change" ]
353,072
353,071
u849229491
python
p02640
x,y = map(int,input().split()) import sys if x == 1 and y == 2: print('Yes') elif x == 1 and y == 4: print('Yes') else: for i in range(1,x+1): tmp = i*2+(4*(x-i)) print(tmp) if tmp == y: print('Yes') sys.exit() print('No')
x,y = map(int,input().split()) import sys if x == 1 and y == 2: print('Yes') elif x == 1 and y == 4: print('Yes') else: for i in range(x+1): tmp = i*2+(4*(x-i)) if tmp == y: print('Yes') sys.exit() print('No')
[ "call.arguments.change", "call.remove" ]
353,073
353,071
u849229491
python
p02640
x,y = map(int,input().split()) import sys if x == 1 and y == 2: print('Yes') elif x == 1 and y == 4: print('Yes') else: for i in range(1,x): tmp = i*2+(4*(x-i)) if tmp == y: print('Yes') sys.exit() print('No')
x,y = map(int,input().split()) import sys if x == 1 and y == 2: print('Yes') elif x == 1 and y == 4: print('Yes') else: for i in range(x+1): tmp = i*2+(4*(x-i)) if tmp == y: print('Yes') sys.exit() print('No')
[ "call.arguments.change" ]
353,074
353,071
u849229491
python
p02640
y, x = map(int, input().split()) tsuru = (x-2*y)/2 kame = (4*y-x)/2 if tsuru < 0 or kame < 0: print('no') elif (x-2*y)%2 == 0 and (4*y-x)%2 == 0: print('Yes') else: print('No')
y, x = map(int, input().split()) tsuru = (x-2*y)/2 kame = (4*y-x)/2 if tsuru < 0 or kame < 0: print('No') elif (x-2*y)%2 == 0 and (4*y-x)%2 == 0: print('Yes') else: print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,094
353,095
u268183312
python
p02640
y, x = map(int, input().split()) tsuru = (x-2*y)/2 kame = (4*y-x)/2 if tsuru < 0 or kame < 0: print('no') elif (x-2*y)%2 == 0 and (4*y-x)%2 == 0: print('yes') else: print('no')
y, x = map(int, input().split()) tsuru = (x-2*y)/2 kame = (4*y-x)/2 if tsuru < 0 or kame < 0: print('No') elif (x-2*y)%2 == 0 and (4*y-x)%2 == 0: print('Yes') else: print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,096
353,095
u268183312
python
p02640
N,M=map(int,input().split()) for i in range(N): j=N-i if 2*i + 4*j == M: print("Yes") exit() print("No")
N,M=map(int,input().split()) for i in range(N+1): j=N-i if 2*i + 4*j == M: print("Yes") exit() print("No")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,097
353,098
u927860986
python
p02640
X, Y = map(int, input().split()) flag = 0 for i in range(X+1): for j in range(X+1): if 2*i + 4*j == Y and i+j == 3: flag = 1 print("Yes" if flag == 1 else "No")
X, Y = map(int, input().split()) flag = 0 for i in range(X+1): for j in range(X+1): if 2*i + 4*j == Y and i+j == X: flag = 1 print("Yes" if flag == 1 else "No")
[ "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change" ]
353,105
353,106
u918373199
python
p02640
import sys X,Y = map(int, input().split()) for i in range(X+1): for j in range(X+1): if (((2*i) + (3*j)) == Y) or (((2*j) + (3*i)) == Y): if (i+j == X): print("Yes") sys.exit() print("No")
import sys X,Y = map(int, input().split()) for i in range(X+1): for j in range(X+1): if (((2*i) + (4*j)) == Y) or (((2*j) + (4*i)) == Y): if (i+j == X): print("Yes") sys.exit() print("No")
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
353,107
353,108
u609814378
python
p02640
import sys CR=0 TU=0 X,Y=map(int, input().split()) for i in range(0,X): CR=i TU=X-i if 2*CR+4*TU==Y: print("Yes") sys.exit() else: continue print("No")
import sys CR=0 TU=0 X,Y=map(int, input().split()) for i in range(0,X+1): CR=i TU=X-i if 2*CR+4*TU==Y: print("Yes") sys.exit() else: continue print("No")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,122
353,123
u011277545
python
p02640
x, y = map(int, input().split()) b = 0 if y % 2 != 0: print("NO") quit() else: while x >= 0: c = x * 2 + b * 4 if c == y: print("YES") quit() x -=1 b +=1 print("NO")
x, y = map(int, input().split()) b = 0 if y % 2 != 0: print("No") quit() else: while x >= 0: c = x * 2 + b * 4 if c == y: print("Yes") quit() x -=1 b +=1 print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,126
353,127
u793378082
python
p02640
import sys def main(): x, y = map(int, input().split()) for i in range(0, x+1): for j in range(0, x-i+1): res = i * 2 + j * 4 if y == res and res > 0: print('Yes') sys.exit() print('No') if __name__ == '__main__': mai...
import sys def main(): x, y = map(int, input().split()) for i in range(0, x+1): for j in range(0, x-i+1): res = i * 2 + j * 4 if y == res and i + j == x: print('Yes') sys.exit() print('No') if __name__ == '__main__': ...
[ "control_flow.loop.for.condition.change", "control_flow.branch.if.condition.change" ]
353,130
353,131
u140084432
python
p02640
x, y = map(int, input().split()) d = 'No' for k in range(1, 100 + 1): for t in range(1, 100 + 1): if y == 4 * k + 2 * t and x == k + t: d = 'Yes' print(d)
x, y = map(int, input().split()) d = 'No' for k in range(100 + 1): for t in range(100 + 1): if y == 4 * k + 2 * t and x == k + t: d = 'Yes' print(d)
[ "call.arguments.change" ]
353,134
353,135
u123849536
python
p02640
X, Y = map(int, input().split()) for i in range(1, X + 1): if Y == (i * 2 + (X - i) * 4): print('Yes') break else: print('No')
X, Y = map(int, input().split()) for i in range(0, X + 1): if Y == (i * 2 + (X - i) * 4): print('Yes') break else: print('No')
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
353,140
353,141
u278855471
python
p02640
x, y = map(int, input().split()) judge = (y - 4 * x) / 2 if judge.is_integer() and judge >= 0 and judge <= x: print("Yes") else: print("No")
x, y = map(int, input().split()) judge = (4 * x - y) / 2 if judge.is_integer() and judge >= 0 and judge <= x: print("Yes") else: print("No")
[ "expression.operation.binary.remove" ]
353,142
353,143
u456342056
python
p02640
X,Y=map(int, input().split()) if(Y%2==1): print("No") exit() if(2*X-Y//2<0): print("No") if(Y//2-X<0): print("No") print("Yes")
X,Y=map(int, input().split()) if(Y%2==1): print("No") exit() if(2*X-Y//2<0): print("No") exit() if(Y//2-X<0): print("No") exit() print("Yes")
[ "call.add" ]
353,149
353,150
u022658079
python
p02640
#!python3 import sys iim = lambda: map(int, sys.stdin.readline().rstrip().split()) def resolve(): it = map(int, sys.stdin.read().split()) X, Y = next(it), next(it) for a in range(101): b = X - a if 2*a + 4*b == Y: print("Yes") return print("No") if __name__ ==...
#!python3 import sys iim = lambda: map(int, sys.stdin.readline().rstrip().split()) def resolve(): it = map(int, sys.stdin.read().split()) X, Y = next(it), next(it) for a in range(101): b = X - a if b < 0: continue if 2*a + 4*b == Y: print("Yes") ...
[ "control_flow.branch.if.add", "control_flow.continue.add" ]
353,159
353,160
u348805958
python
p02640
X ,Y = map(int,input().split()) ans ="No" for i in range(1,X+1): if i *2 +(X - i)*4 == Y: ans ="Yes" break print(ans)
X ,Y = map(int,input().split()) ans ="No" for i in range(X+1): if i *2 +(X - i)*4 == Y: ans ="Yes" break print(ans)
[ "call.arguments.change" ]
353,166
353,167
u113631524
python
p02640
X, Y = map(int, input().split()) for i in range (X): if 2*i + 4*(X-i) == Y: print("Yes") 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" ]
353,170
353,171
u133583235
python
p02640
n_animal, n_foot = map(int, input().split()) checker = False for i in range(n_animal): n_kame = i n_tsuru = n_animal - n_kame n_foot_pred = n_kame * 4 + n_tsuru * 2 if n_foot == n_foot_pred: checker = True break else: continue if checker: print("Yes") else: prin...
n_animal, n_foot = map(int, input().split()) checker = False for i in range(n_animal + 1): n_kame = i n_tsuru = n_animal - n_kame n_foot_pred = n_kame * 4 + n_tsuru * 2 if n_foot == n_foot_pred: checker = True break else: continue if checker: print("Yes") else: ...
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,172
353,173
u945405878
python
p02640
import numpy X,Y=map(int,input().split()) if Y%2 != 0: print("No") else: N_max = int(Y/2) for n in numpy.array(range(N_max, -1, -2)): if X == n + (N_max - n)/2: print("Yes") break else: if n == 0: print("No")
import numpy X,Y=map(int,input().split()) if Y%2 != 0: print("No") else: N_max = int(Y/2) for n in numpy.array(range(N_max, -1, -2)): if X == n + (N_max - n)/2: print("Yes") break else: print("No")
[]
353,179
353,180
u209911545
python
p02640
import sys x, y = input().split(" ") for i in range(int(x)): exp_i = int(x) - i if int(i) * 2 + exp_i * 4 == int(y): print("Yes") sys.exit() print("No")
import sys x, y = input().split(" ") for i in range(int(x)+1): exp_i = int(x) - i # print(i) # print(int(i) * 2 + exp_i * 4) # print(int(y)) if int(i) * 2 + exp_i * 4 == int(y): print("Yes") sys.exit() print("No")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,190
353,191
u283068625
python
p02640
x, y = map(int, input().split()) #turu = t #kame = x - t turu = 0 kame = 0 flag = 0 for t in range(1,x + 1): if t * 2 + (x - t) * 4 == y: turu = t kame = x - t flag = 1 break else: pass if flag == 1: print("Yes") else: print("No")
x, y = map(int, input().split()) #turu = t #kame = x - t turu = 0 kame = 0 flag = 0 for t in range(0, x + 1): if t * 2 + (x - t) * 4 == y: turu = t kame = x - t flag = 1 else: pass if flag == 1: print("Yes") else: print("No")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "control_flow.break.remove" ]
353,195
353,196
u878518432
python
p02640
x, y = map(int, input().split()) #turu = t #kame = x - t turu = 0 kame = 0 flag = 0 for t in range(100): if t * 2 + (x - t) * 4 == y: turu = t kame = x - t flag = 1 break else: pass if flag == 1: print("Yes") else: print("No")
x, y = map(int, input().split()) #turu = t #kame = x - t turu = 0 kame = 0 flag = 0 for t in range(0, x + 1): if t * 2 + (x - t) * 4 == y: turu = t kame = x - t flag = 1 else: pass if flag == 1: print("Yes") else: print("No")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add", "control_flow.break.remove" ]
353,197
353,196
u878518432
python
p02640
n, m = map(int, input().split()) a =0 for i in range(n+1): for s in range(0, n+1-i)[::-1]: if 4*(i) + 2*(s) == m: a = a + 1 else: a = a if a > 0: print('Yes') else: print("No")
n, m = map(int, input().split()) a =0 for i in range(n+1): for s in range(0, n+1-i)[::-1]: if 4*(i) + 2*(n-i) == m: a = a + 1 else: a = a if a > 0: print('Yes') else: print("No")
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
353,204
353,205
u266143155
python
p02640
X, Y = map(int, input().split()) fin = "" if (X * 4 < Y or X * 2 > Y or Y % 3 == 0): fin += "No" else: fin += "Yes" print(fin)
X, Y = map(int, input().split()) fin = "" if (X * 4 < Y or X * 2 > Y or Y % 2 != 0): fin += "No" else: fin += "Yes" print(fin)
[]
353,225
353,226
u728422189
python
p02640
a, b = map(int, input().split()) if b>=2*a and b<=4*a and a%2==0: print('Yes') else: print('No')
a, b = map(int, input().split()) if b>=2*a and b<=4*a and b%2==0: print('Yes') else: print('No')
[ "identifier.change", "control_flow.branch.if.condition.change" ]
353,227
353,228
u984592063
python
p02640
h,l=map(int,input().split()) temp=l//2 temp2=abs(temp-h) temp1=abs(h-temp2) if ((temp2*4)+(temp1*2))==l: print('YES') else: print('NO')
h,l=map(int,input().split()) temp=l//2 temp2=abs(temp-h) temp1=abs(h-temp2) if ((temp2*4)+(temp1*2))==l: print('Yes') else: print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,231
353,232
u963747475
python
p02640
xy = [int(x) for x in input().split()] X = xy[0] Y = xy[1] if Y%2 == 0 and 2*X< Y and Y<4*X: print('Yes') else: print('No')
xy = [int(x) for x in input().split()] X = xy[0] Y = xy[1] if Y%2 == 0 and 2*X<= Y<=4*X: print('Yes') else: print('No')
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
353,249
353,250
u217836256
python
p02640
xy = [int(x) for x in input().split()] X = xy[0] Y = xy[1] if Y%2 == 0 and 2*X< Y<4*X: print('Yes') else: print('No')
xy = [int(x) for x in input().split()] X = xy[0] Y = xy[1] if Y%2 == 0 and 2*X<= Y<=4*X: print('Yes') else: print('No')
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
353,251
353,250
u217836256
python
p02640
import sys (x, y) = map(int, sys.stdin.readline().strip().split()) if y % 2 == 1: print('No') b = -x + y/2 a = x - b if a < 0 or b < 0: print('No') else: print('Yes') """ a: 鶴の数、b: 亀の数 a + b = x -> 2a + 2b = 2x 2a + 4b = y より 2b = -2x + y -> b = -x + 1/2y """
import sys (x, y) = map(int, sys.stdin.readline().strip().split()) if y % 2 == 1: print('No') sys.exit() b = -x + y/2 a = x - b if a < 0 or b < 0: print('No') else: print('Yes') """ a: 鶴の数、b: 亀の数 a + b = x -> 2a + 2b = 2x 2a + 4b = y より 2b = -2x + y -> b = -x + 1/2y """
[ "call.add" ]
353,262
353,263
u095940847
python
p02640
from sys import stdin a, b = [int(x) for x in stdin.readline().rstrip().split()] print(a, b) if (a*2<=b and a*4>=b) and b%2==0: print("Yes") else: print("No")
from sys import stdin a, b = [int(x) for x in stdin.readline().rstrip().split()] if (a*2<=b and a*4>=b) and b%2==0: print("Yes") else: print("No")
[ "call.remove" ]
353,266
353,267
u432691050
python
p02639
data = [int(x) for x in input().split(" ")] for i in range(len(data)): if data[i] == 0: print(i)
data = [int(x) for x in input().split(" ")] for i in range(len(data)): if data[i] == 0: print(i+1)
[ "expression.operation.binary.add" ]
353,299
353,300
u225463683
python
p02639
x = list[map(int,input().split())] print(x.index(0) + 1)
x = list(map(int,input().split())) print(x.index(0) + 1)
[ "assignment.value.change" ]
353,307
353,308
u179411549
python
p02640
x,y = map(int, input().split()) for i in range(1,x+1): a = i*2 b = (x-i)*4 if a+b == y: print("Yes") exit() print("No")
x,y = map(int, input().split()) for i in range(x+1): a = i*2 b = (x-i)*4 if a+b == y: print("Yes") exit() print("No")
[ "call.arguments.change" ]
353,347
353,348
u188827677
python
p02640
x, y = map(int, input().split()) ans = 0 for i in range(x + 1): print(i) num = i * 4 + (x - i) * 2 if(y == num): 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): num = i * 4 + (x - i) * 2 if(y == num): ans = 1 break if(ans == 1): print("Yes") else: print("No")
[ "call.remove" ]
353,349
353,350
u084366492
python
p02640
x, y = map(int, input().split()) ans = 0 for i in range(x): num = i * 4 + (x - i) * 2 if(y == num): 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): num = i * 4 + (x - i) * 2 if(y == num): ans = 1 break if(ans == 1): print("Yes") else: print("No")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,351
353,350
u084366492
python
p02640
X,Y = [int(i) for i in input().split()] print ("Yes" if Y%2 == 0 and Y//4 <= X <= Y//2 else "No")
X,Y = [int(i) for i in input().split()] print ("Yes" if Y%2 == 0 and Y/4 <= X <= Y/2 else "No")
[ "expression.operator.arithmetic.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
353,362
353,363
u199356004
python
p02640
x, y = int(input().split()) max_num = 4 * x min_num = 2 * x if y % 2 == 1: print('No') elif (min_num <= y) and (max_num >= y): print('Yes') else: print('No')
x, y = map(int, input().split()) max_num = 4 * x min_num = 2 * x if y % 2 == 1: print('No') elif (min_num <= y) and (max_num >= y): print('Yes') else: print('No')
[ "assignment.value.change", "identifier.change", "call.function.change", "call.arguments.add" ]
353,370
353,371
u805852597
python
p02640
x, y = input().split() max_num = 4 * x min_num = 2 * x if y % 2 == 1: print('No') elif (min_num <= y) and (max_num >= y): print('Yes') else: print('No')
x, y = map(int, input().split()) max_num = 4 * x min_num = 2 * x if y % 2 == 1: print('No') elif (min_num <= y) and (max_num >= y): print('Yes') else: print('No')
[ "call.add", "call.arguments.change" ]
353,372
353,371
u805852597
python
p02640
X,Y = map(int,input().split()) a = Y/2 b = 2*X if b>=a and Y%2==0 and Y!=0: print('Yes') else: print('No')
X,Y = map(int,input().split()) a = Y/2 b = 2*X if b>=a and Y%2==0 and X<=a: print('Yes') else: print('No')
[]
353,384
353,385
u097409023
python
p02640
X,Y = map(int,input().split()) a = Y/2 b = 2*X if b>=a and Y%2==0: print('Yes') else: print('No')
X,Y = map(int,input().split()) a = Y/2 b = 2*X if b>=a and Y%2==0 and X<=a: print('Yes') else: print('No')
[ "control_flow.branch.if.condition.change" ]
353,386
353,385
u097409023
python
p02640
list = list(map(int,input().split())) cand = [] for i in range(list[0]+1): a = [] a.append(i) a.append(list[0]-i) cand.append(a) ans = 'No' for item in cand: c = 2 * item[0] + 3 * item[1] if c == list[1]: ans = 'Yes' print(ans)
alist = list(map(int,input().split())) cand = [] for i in range(alist[0]+1): a = [] a.append(i) a.append(alist[0]-i) cand.append(a) ans = 'No' for item in cand: c = 2 * item[0] + 4 * item[1] if c == alist[1]: ans = 'Yes' print(ans)
[ "assignment.variable.change", "identifier.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change", "literal.number.integer.change", "assignment.value.change", "control_flow.branch.if.condition.change" ]
353,389
353,390
u882389182
python
p02640
X,Y = map(int,input().split()) if X*4 < Y or X*2 > Y: print("No") else: if Y == X*2: print("Yes") else: if (Y-X*2)%2==0: print('Yes') elif (Y-X*2)%2==0: print('No')
X,Y = map(int,input().split()) if X*4 < Y or X*2 > Y: print("No") else: if Y == X*2: print("Yes") else: if (Y-X*2)%2==0: print('Yes') elif (Y-X*2)%2!=0: print('No')
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
353,393
353,394
u249372595
python
p02640
x,y=(int(x) for x in input().split()) ans = y / 2 - x if ans <= x and ans.is_integer() == True: print('Yes') else: print('No')
x,y=(int(x) for x in input().split()) ans = y / 2 - x if 0 <= ans <= x and ans.is_integer() == True: print('Yes') else: print('No')
[ "control_flow.branch.if.condition.change" ]
353,397
353,398
u611033537
python
p02640
import sys stdin = sys.stdin ni = lambda: int(ns()) na = lambda: list(map(int, stdin.readline().split())) ns = lambda: stdin.readline().rstrip() # ignore trailing spaces x, y= na() if (4*x-y)%2 == 0 and (4*x-y)//2 >= 0 and (4*x-y)//2 < 199: print("Yes") else: print("No")
import sys stdin = sys.stdin ni = lambda: int(ns()) na = lambda: list(map(int, stdin.readline().split())) ns = lambda: stdin.readline().rstrip() # ignore trailing spaces x, y= na() if (4*x-y)%2 == 0 and (4*x-y)//2 >= 0 and (4*x-y)//2 <= x: print("Yes") else: print("No")
[]
353,403
353,404
u683956577
python
p02640
n,m=(int(x) for x in input().split()) if (4*n-m)%2==0 and 4*n-m>=2 and 2*n-(4*n-m)>=2: print('Yes') else : print('No')
n,m=(int(x) for x in input().split()) if (4*n-m)%2==0 and 4*n-m>=0 and 2*n-(4*n-m)>=0: print('Yes') else : print('No')
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
353,405
353,406
u293436958
python
p02640
X, Y = map(int, input().split()) if 4 * X <= Y: print("No") elif Y / 2 <= X: print("No") else: y = abs(Y - 2 * X) x = abs(4 * X - Y) if y%2 == 0 and x%2 == 0: print("Yes") else: print("No")
X, Y = map(int, input().split()) if 4 * X < Y: print("No") elif Y / 2 < X: print("No") else: y = abs(Y - 2 * X) x = abs(4 * X - Y) if y%2 == 0 and x%2 == 0: print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
353,407
353,408
u845847173
python
p02640
x,y = list(map(int, input().split())) if y > 4*x: print("No") else: if y % 2 == 0 and y > x*2: print("Yes") else: print("No")
x,y = list(map(int, input().split())) if y > 4*x: print("No") else: if y % 2 == 0 and y >= x*2: print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
353,413
353,414
u750058957
python
p02640
x,y=map(int, input().split()) a=False for i in range(1,x+1): if i*2+(x-i)*4==y: a=True break if a==True: print("Yes") else: print("No")
x,y=map(int, input().split()) a=False for i in range(0,x+1): if i*2+(x-i)*4==y: a=True break if a==True: print("Yes") else: print("No")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
353,418
353,419
u614054255
python
p02640
import math X, Y = map(int,input().split()) ans = "No" for i in range(X): if(2*X+2*i==Y): ans = "Yes" print(ans)
import math X, Y = map(int,input().split()) ans = "No" for i in range(X+1): if(2*X+2*i==Y): ans = "Yes" print(ans)
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,443
353,444
u723065526
python
p02640
X, Y = map(int,input().split()) ans = "No" for i in range(X//2+1): if(2*X+2*i==Y): ans = "Yes" print(ans)
import math X, Y = map(int,input().split()) ans = "No" for i in range(X+1): if(2*X+2*i==Y): ans = "Yes" print(ans)
[ "expression.operation.binary.remove" ]
353,445
353,444
u723065526
python
p02640
X,Y=input().split(); X=int(X); Y=int(Y); for k in range(X): if Y==4*k+2*(X-k): print("Yes"); exit(); print("No");
X,Y=input().split(); X=int(X); Y=int(Y); for k in range(X+1): if Y==4*k+2*(X-k): print("Yes"); exit(); print("No");
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,450
353,449
u428785856
python
p02640
import sys def I(): return int(sys.stdin.readline().rstrip()) def LI():return list(map(int,sys.stdin.readline().rstrip().split())) def LS():return list(sys.stdin.readline().rstrip().split()) def main(): X,Y = LI()[:] #print(X,Y) if ((Y-2*X) % 2) == 0: a = (Y-2*X) / 2 if a<=X: print('Yes') e...
import sys def I(): return int(sys.stdin.readline().rstrip()) def LI():return list(map(int,sys.stdin.readline().rstrip().split())) def LS():return list(sys.stdin.readline().rstrip().split()) def main(): X,Y = LI()[:] #print(X,Y) if ((Y-2*X) % 2) == 0: a = (Y-2*X) / 2 if a<=X and a>=0: print('Yes'...
[ "control_flow.branch.if.condition.change" ]
353,461
353,462
u856819253
python
p02640
x, y = map(int, input().split()) flag = 0 for i in range(x): if (i * 2 + (x - i) * 4) == y: print("Yes") flag = 1 break if flag == 0: print("No")
x, y = map(int, input().split()) flag = 0 for i in range(x+1): if (i * 2 + (x - i) * 4) == y: print("Yes") flag = 1 break if flag == 0: print("No")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,467
353,468
u433184056
python
p02640
x, y = map(int, input().split()) flag = 0 for i in range(x): if (i * 2 + (x - i) * 4) == y: print("YES") flag = 1 break if flag == 0: print("NO")
x, y = map(int, input().split()) flag = 0 for i in range(x+1): if (i * 2 + (x - i) * 4) == y: print("Yes") flag = 1 break if flag == 0: print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,469
353,468
u433184056
python
p02640
x, y = map(int, input().split()) flag = 0 for i in range(x): if (i * 2 + (x - i) * 4) == y: print("YES") flag = 1 break if flag == 0: print("NO")
x, y = map(int, input().split()) flag = 0 for i in range(x+1): if (i * 2 + (x - i) * 4) == y: print("Yes") flag = 1 break if flag == 0: print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,470
353,468
u433184056
python
p02640
X,Y=map(int,input().split()) if Y>4*X: print('No') exit() else: pass if (Y-2*X)%2==0: print('Yes') else: print('No')
X,Y=map(int,input().split()) if Y>4*X or Y<2*X: print('No') exit() else: pass if (Y-2*X)%2==0: print('Yes') else: print('No')
[ "control_flow.branch.if.condition.change" ]
353,486
353,487
u674588203
python
p02640
x, y = map(int, open(0).read().split()) c = ((x * 2) <= y <= (x * 4)) and y % 2 == 0 if c: print("YES") else: print("NO")
x, y = map(int, open(0).read().split()) c = ((x * 2) <= y <= (x * 4)) and y % 2 == 0 if c: print("Yes") else: print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,488
353,489
u200916944
python
p02640
x, y = map(int, input().split()) sub = y - x * 2 if sub % 2 == 0 and 0 <= sub <= x: print('Yes') else: print('No')
x, y = map(int, input().split()) sub = y - x * 2 if sub % 2 == 0 and 0 <= sub / 2 <= x: print('Yes') else: print('No')
[ "control_flow.branch.if.condition.change" ]
353,502
353,503
u404092236
python
p02640
x, y = map(int, input().split()) sub = x*2 - y if sub % 2 == 0 and 0 <= sub <= x: print('Yes') else: print('No')
x, y = map(int, input().split()) sub = y - x * 2 if sub % 2 == 0 and 0 <= sub / 2 <= x: print('Yes') else: print('No')
[ "expression.operation.binary.remove", "control_flow.branch.if.condition.change" ]
353,504
353,503
u404092236
python
p02640
def main(): X, Y = map(int, input().split()) #total X #feet Y for x in range(X+1): y = X - x feet = 4 * x + 2 * y if feet == Y: print("YES") return print("NO") if __name__ == '__main__': main()
def main(): X, Y = map(int, input().split()) #total X #feet Y for x in range(X+1): y = X - x feet = 4 * x + 2 * y if feet == Y: print("Yes") return print("No") if __name__ == '__main__': main()
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,505
353,506
u476674874
python
p02640
X, Y = map(int, input().split()) def check(): for i in range(0, Y+1): if i * 2 + (X - i) * 4 == Y: return 'Yes' return 'No' print(check())
X, Y = map(int, input().split()) def check(): for i in range(0, X + 1): if i * 2 + (X - i) * 4 == Y: return 'Yes' return 'No' print(check())
[ "identifier.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
353,507
353,508
u451507303
python
p02640
X, Y = map(int, input().split()) def check(): for i in range(1,101): if i * 2 + (X - i) * 4 == Y: return 'Yes' return 'No' print(check())
X, Y = map(int, input().split()) def check(): for i in range(0, X + 1): if i * 2 + (X - i) * 4 == Y: return 'Yes' return 'No' print(check())
[ "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" ]
353,509
353,508
u451507303
python
p02640
X, Y = map(int, input().split()) def check(): for i in range(1,100): if i * 2 + (X - i) * 4 == Y: return 'Yes' return 'No' print(check())
X, Y = map(int, input().split()) def check(): for i in range(0, X + 1): if i * 2 + (X - i) * 4 == Y: return 'Yes' return 'No' print(check())
[ "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" ]
353,510
353,508
u451507303
python
p02640
X, Y = map(int, input().split()) def check(): for i in range(100): if i * 2 + (X - i) * 4 == Y: return 'Yes' return 'No' print(check())
X, Y = map(int, input().split()) def check(): for i in range(0, X + 1): if i * 2 + (X - i) * 4 == Y: return 'Yes' return 'No' print(check())
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add" ]
353,511
353,508
u451507303
python
p02640
# 別変数の整数複数個 X, Y = [int(x) for x in input().strip().split(" ")] if Y % 2 == 1: print("No") else: turtles = (Y - 2 * X) // 2 cranes = (4 * X - Y) // 2 print(cranes, turtles) if (0 <= turtles <= X) and (0 <= cranes <= X): print("Yes") else: print("No")
# 別変数の整数複数個 X, Y = [int(x) for x in input().strip().split(" ")] if Y % 2 == 1: print("No") else: turtles = (Y - 2 * X) // 2 cranes = (4 * X - Y) // 2 if (0 <= turtles <= X) and (0 <= cranes <= X): print("Yes") else: print("No")
[ "call.remove" ]
353,512
353,513
u553600587
python
p02640
X, Y = map(int, input().split()) crain = (4 * X - Y) / 2 if crain.is_integer() and 0 <= crain: print("Yes") else: print("No")
X, Y = map(int, input().split()) crain = (4 * X - Y) / 2 if crain.is_integer() and 0 <= crain <= X: print("Yes") else: print("No")
[ "control_flow.branch.if.condition.change" ]
353,514
353,515
u282403093
python
p02640
X, Y = map(int, input().split()) crain = (4 * X - Y) / 2 if crain.is_integer() and 0 < crain <= X: print("Yes") else: print("No")
X, Y = map(int, input().split()) crain = (4 * X - Y) / 2 if crain.is_integer() and 0 <= crain <= X: print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
353,516
353,515
u282403093
python
p02640
x, y = map(int, input().split(" ")) for i in range(1, x+1): f = 2*i + 4*(x-i) if f == y: print('Yes') break else: print('No')
x, y = map(int, input().split(" ")) for i in range(0, x+1): f = 2*i + 4*(x-i) if f == y: print('Yes') break else: print('No')
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
353,517
353,518
u452885705
python
p02640
line = input() line = line.rstrip().split(' ') total = int(line[0]) total_leg = int(line[1]) kame = (total_leg - total * 2) / 2 tsuru = total - kame print(tsuru, kame) if total_leg % 2 == 1: print('No') elif (0 <= kame and kame <= total) and (0 <= tsuru and tsuru <= total): print('Yes') else: print('No'...
line = input() line = line.rstrip().split(' ') total = int(line[0]) total_leg = int(line[1]) kame = (total_leg - total * 2) / 2 tsuru = total - kame if total_leg % 2 == 1: print('No') elif (0 <= kame and kame <= total) and (0 <= tsuru and tsuru <= total): print('Yes') else: print('No')
[ "call.remove" ]
353,523
353,524
u015416155
python
p02640
X, Y = map(int, input().split()) max = X * 4 if Y > max: print('No') elif Y % 2 != 0: print('No') else: for i in range(2*X, 4*X+1, 2): print(i) if i == Y: print('Yes') break else: print('No')
X, Y = map(int, input().split()) max = X * 4 if Y > max: print('No') elif Y % 2 != 0: print('No') else: for i in range(2*X, 4*X+1, 2): if i == Y: print('Yes') break else: print('No')
[ "call.remove" ]
353,527
353,528
u562400059
python
p02640
import sys X, Y = map(int, input().split()) max = X * 4 if Y > max: print('No') elif Y % 2 != 0: print('No') else: for i in range(2*X, 4*X, 2): if i == Y: print('Yes') break else: print('No')
X, Y = map(int, input().split()) max = X * 4 if Y > max: print('No') elif Y % 2 != 0: print('No') else: for i in range(2*X, 4*X+1, 2): if i == Y: print('Yes') break else: print('No')
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,529
353,528
u562400059
python
p02640
animal,leg = [int(x) for x in input().split()] # crane + turtle = animal # 2*crane + 4*turtle = leg import numpy as np A = np.array([ [1,1], [2,4] ]) B = np.array([ [animal], [leg] ]) A_inv = np.linalg.inv(A) ans = A_inv.dot(B) print(ans) result = 0 for a in ans: for b in a: if b<0 or not b....
animal,leg = [int(x) for x in input().split()] # crane + turtle = animal # 2*crane + 4*turtle = leg import numpy as np A = np.array([ [1,1], [2,4] ]) B = np.array([ [animal], [leg] ]) A_inv = np.linalg.inv(A) ans = A_inv.dot(B) result = 0 for a in ans: for b in a: if b<0 or not b.is_integer(...
[ "call.remove" ]
353,530
353,531
u562869375
python
p02640
x, y = map(int, input().split()) for i in range(1, x+1): f = 2 * i + 4 * (x - i) if f == y: print("Yes") exit() print("No")
x, y = map(int, input().split()) for i in range(x+1): f = 2 * i + 4 * (x - i) if f == y: print("Yes") exit() print("No")
[ "call.arguments.change" ]
353,555
353,556
u068142202
python
p02640
X,Y=map(int,input().split()) ans="NO" if X<=50: for i in range(X+1): if i*2+(X-i)*4==Y: ans="Yes" print(ans)
X,Y=map(int,input().split()) ans="No" if X<=50: for i in range(X+1): if i*2+(X-i)*4==Y: ans="Yes" print(ans)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
353,561
353,562
u946370443
python
p02640
import math def ip():return int(input()) def imp():return map(int,input().split()) def impstr():return map(str,input().split()) def limp():return list(map(int,input().split())) def limpstr():return list(map(str,input().split())) a,b=imp() for i in range(0,a+1): if i*2+(a-i)*3==b: print("Yes") exit(...
import math def ip():return int(input()) def imp():return map(int,input().split()) def impstr():return map(str,input().split()) def limp():return list(map(int,input().split())) def limpstr():return list(map(str,input().split())) a,b=imp() for i in range(0,a+1): if i*2+(a-i)*4==b: print("Yes") exit(...
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
353,575
353,576
u172147273
python
p02640
x,y=list(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=list(map(int,input().split())) for i in range(x+1): if i*2+(x-i)*4 == y: print("Yes") exit() print("No")
[ "call.arguments.change" ]
353,583
353,584
u320511454
python
p02640
x,y=A=list(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=list(map(int,input().split())) for i in range(x+1): if i*2+(x-i)*4 == y: print("Yes") exit() print("No")
[ "call.arguments.change" ]
353,585
353,584
u320511454
python
p02640
# coding: utf-8 ############################ x,y = map(int,input().split()) for i in range(x): kame = x-i turu = i if kame*2 + turu*4 ==y: print("Yes") exit() print("No")
# coding: utf-8 ############################ x,y = map(int,input().split()) for i in range(x+1): kame = x-i turu = i if kame*2 + turu*4 ==y: print("Yes") exit() print("No")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,586
353,587
u963128036
python
p02640
X,Y=map(int,input().split()) eva=False if Y%2==0: if 4*X>Y: if (2*X-Y/2)<=X: eva=True if eva: print("Yes") else: print("No")
X,Y=map(int,input().split()) eva=False if Y%2==0: if 4*X>=Y: if (2*X-Y/2)<=X: eva=True if eva: print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
353,596
353,597
u441225672
python
p02640
x, y = map(int, input().split()) if y%2 == 1: print("NO") else: if y >= 2*x and y <= 4*x: print("Yes") else: print("No")
x, y = map(int, input().split()) if y%2 == 1: print("No") else: if 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" ]
353,616
353,617
u014139588
python
p02640
x,y=map(int,input().split()) result='No' for i in range(1,100): for d in range(1,100): if i+d==x: if i*2+d*4==y or i*4+d*2==y: result='Yes' break print(result)
x,y=map(int,input().split()) result='No' for i in range(0,101): for d in range(0,101): if i+d==x: if i*2+d*4==y or i*4+d*2==y: result='Yes' break print(result)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "control_flow.loop.range.bounds.upper.change" ]
353,622
353,623
u516579758
python
p02640
X, Y = map(int, input().split()) for i in range(X): i += 1 if 2 * i + 4 * (X - i) == Y: print('Yes') exit() print('No')
X, Y = map(int, input().split()) for i in range(X + 1): # i += 1 if 2 * i + 4 * (X - i) == Y: print('Yes') exit() print('No')
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,630
353,631
u517682687
python
p02640
X,Y = map(int,input().split()) found = False # if (X == 1) : # if (Y == 2 or Y == 4) : # found = True for i in range(X) : kame_legs = 4 * i tsuru_legs = 2 * (X-i) if (Y == kame_legs + tsuru_legs) : found = True break if (found) : print("Yes") else : print("No")
X,Y = map(int,input().split()) found = False # if (X == 1) : # if (Y == 2 or Y == 4) : # found = True for i in range(X+1) : kame_legs = 4 * i tsuru_legs = 2 * (X-i) if (Y == kame_legs + tsuru_legs) : # print("tsuru", tsuru_legs, "kame", kame_legs) found = True break if...
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,647
353,648
u993642190
python
p02640
X, Y = map(int, input().split()) if Y - 2 * X >= 0 and 4 * X - Y >= 0 and Y % 2 == 0: print("YES") else: print("NO")
X, Y = map(int, input().split()) if Y - 2 * X >= 0 and 4 * X - Y >= 0 and Y % 2 == 0: print("Yes") else: print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,649
353,650
u163188822
python
p02640
x, y = map(int, input().split()) foot = y - x * 2 if foot % 2 == 0 and 0 <= foot and foot <= x * 2: print("YES") else: print("NO")
x, y = map(int, input().split()) foot = y - x * 2 if foot % 2 == 0 and 0 <= foot and foot <= x * 2: print("Yes") else: print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,651
353,652
u168030064
python
p02640
x, y = map(int, input().split()) if y>=2*x and y<=4*x and y%2 ==0: ans ="YES" else: ans = "NO" print(ans)
x, y = map(int, input().split()) if y>=2*x and y<=4*x and y%2 ==0: ans ="Yes" else: ans = "No" print(ans)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
353,655
353,656
u881675205
python
p02640
X , Y = map(int, input().split()) flag = 0 for x in range(X+1): for y in range(X+1): print(x,y) if x + y == X and 2 * x + 4 * y == Y: flag = 1 break if flag == 1: break if flag == 0: print("No") else: print("Yes")
X , Y = map(int, input().split()) flag = 0 for x in range(X+1): for y in range(X+1): if x + y == X and 2 * x + 4 * y == Y: flag = 1 break if flag == 1: break if flag == 0: print("No") else: print("Yes")
[ "call.remove" ]
353,663
353,664
u228636605
python
p02640
X,Y =map(int,input().split()) A=-1 if Y%2 ==1: print('No') A=0 if 2*X <= Y <= 4*X: print('Yes') elif A!= 0: print('No')
X,Y =map(int,input().split()) A=-1 if Y%2 ==1: print('No') A=0 if 2*X <= Y <= 4*X and A !=0: print('Yes') elif A!= 0: print('No')
[ "control_flow.branch.if.condition.change" ]
353,667
353,668
u973972117
python
p02640
animal, leg = map(int, input().split()) answer = 'No' for i in range(0, animal+1): temp = 2 * i + 4 * (animal-i) if temp == leg: answer = 'YES' break print(answer)
animal, leg = map(int, input().split()) answer = 'No' for i in range(0, animal+1): temp = 2 * i + 4 * (animal-i) if temp == leg: answer = 'Yes' break print(answer)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
353,682
353,683
u849334482
python
p02640
animal, leg = map(int, input().split()) answer = 'No' for i in range(1, animal+1): temp = 2 * i + 4 * (animal-i) if temp == leg: answer = 'YES' break print(answer)
animal, leg = map(int, input().split()) answer = 'No' for i in range(0, animal+1): temp = 2 * i + 4 * (animal-i) if temp == leg: answer = 'Yes' break print(answer)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
353,684
353,683
u849334482
python
p02640
x, y = map(int, input().split()) for i in range(x+1): if (x-i)*4 + i*2 == y: print("YES") exit() print('NO')
x, y = map(int, input().split()) for i in range(x+1): if (x-i)*4 + i*2 == y: print("Yes") exit() print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,695
353,696
u295120316
python
p02640
x, y = map(int, input().split()) for i in range(x): if (x-i)*4 + i*2 == y: print("YES") exit() print('NO')
x, y = map(int, input().split()) for i in range(x+1): if (x-i)*4 + i*2 == y: print("Yes") exit() print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,697
353,696
u295120316
python
p02640
x, y = map(int,input().split()) ans = 0 for i in range(1,x+1): if y == 2*i+4*(x-i): ans += 1 break else: continue if ans >= 1: print('Yes') else: print('No')
x, y = map(int,input().split()) ans = 0 for i in range(x+1): if y == 2*i+4*(x-i): ans += 1 break if ans >= 1: print('Yes') else: print('No')
[ "call.arguments.change" ]
353,706
353,707
u603324902
python