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 9
values |
|---|---|---|---|---|---|---|---|
p02771 | def main():
a, b, c = map(int, input().split())
if a == b and c != a or a == c and b != a or b == c and c != b:
print('Yes')
else:
print('No')
if __name__ == '__main__':
main()
| def main():
a, b, c = map(int, input().split())
if a == b and c != a or a == c and b != a or b == c and a != b:
print('Yes')
else:
print('No')
if __name__ == '__main__':
main()
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 567,686 | 567,687 | u846694620 | python |
p02771 | a,b,c=map(int,input().split())
if a==b and b!=c:
print("Yes")
elif a==c and b!=c:
print("Yes")
elif c==b and a!=c:
print("Yes")
else:
print("NO") | a,b,c=map(int,input().split())
if a==b and b!=c:
print("Yes")
elif a==c and b!=c:
print("Yes")
elif c==b and a!=c:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 567,712 | 567,713 | u109133010 | python |
p02771 | A, B, C = map(int, input().split())
print('Yes' if len(set([A, B, C])) != 1 else 'No') | A, B, C = map(int, input().split())
print('Yes' if len(set([A, B, C])) == 2 else 'No') | [] | 567,722 | 567,723 | u497046426 | python |
p02771 | a,b,c=map(int,input().split())
if a==b:
if b==c:
ans="No"
else:
ans="Yes"
if b==c:
if c==a:
ans="No"
else:
ans="Yes"
if c==a:
if a==b:
ans="No"
else:
ans="Yes"
print(ans) | a,b,c=map(int,input().split())
ans="No"
if a==b:
if b==c:
ans="No"
else:
ans="Yes"
if b==c:
if c==a:
ans="No"
else:
ans="Yes"
if c==a:
if a==b:
ans="No"
else:
ans="Yes"
print(ans) | [
"assignment.add"
] | 567,769 | 567,770 | u404629709 | python |
p02771 | import collections
a = input().split()
c = list(collections.Counter(a).values())
b = 0
print(c)
for k in c:
b += 1
if k == 2:
print("Yes")
break
elif b == 3:
print("No")
elif k == 3:
print("No") | import collections
a = input().split()
c = list(collections.Counter(a).values())
b = 0
for k in c:
b += 1
if k == 2:
print("Yes")
break
elif b == 3:
print("No")
elif k == 3:
print("No") | [
"call.remove"
] | 567,773 | 567,774 | u614628638 | python |
p02771 | import collections
a = input().split()
c = list(collections.Counter(a).values())
b = 0
print(c)
for k in c:
b += 1
if k == 2:
print("Yes")
break
elif b == 3:
print("No")
elif c == 3:
print("No") | import collections
a = input().split()
c = list(collections.Counter(a).values())
b = 0
for k in c:
b += 1
if k == 2:
print("Yes")
break
elif b == 3:
print("No")
elif k == 3:
print("No") | [
"call.remove",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 567,775 | 567,774 | u614628638 | python |
p02771 | import collections
a = input().split()
c = list(collections.Counter(a).values())
b = 0
print(c)
for k in c:
b += 1
if k == 2:
print("Yes")
break
elif b == 3:
print("No")
elif c == c:
print("No") | import collections
a = input().split()
c = list(collections.Counter(a).values())
b = 0
for k in c:
b += 1
if k == 2:
print("Yes")
break
elif b == 3:
print("No")
elif k == 3:
print("No") | [
"call.remove",
"identifier.change",
"control_flow.branch.if.condition.change",
"identifier.replace.remove",
"literal.replace.add"
] | 567,776 | 567,774 | u614628638 | python |
p02771 | lis = list(input().split())
a=lis.count(lis[0])
b=lis.count(lis[1])
c=lis.count(lis[2])
if a+b+c == 4:
print("Yes")
else:
print("No") | lis = list(input().split())
a=lis.count(lis[0])
b=lis.count(lis[1])
c=lis.count(lis[2])
if a+b+c == 5:
print("Yes")
else:
print("No") | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 567,780 | 567,781 | u126812720 | python |
p02771 | lis = list(input().split())
a=lis.count(lis[0])
b=lis.count(lis[1])
c=lis.count(lis[2])
if a+b+C == 4:
print("Yes")
else:
print("No") | lis = list(input().split())
a=lis.count(lis[0])
b=lis.count(lis[1])
c=lis.count(lis[2])
if a+b+c == 5:
print("Yes")
else:
print("No") | [
"identifier.change",
"control_flow.branch.if.condition.change",
"literal.number.integer.change"
] | 567,782 | 567,781 | u126812720 | python |
p02771 | abc = input().split()
intlist = [int(s) for s in abc]
a,b,c = intlist[0],intlist[1],intlist[2]
if (a == b & a != c) | (a == c & a != b) | (b == c & c != a):
print("Yes")
else:
print("No")
| abc = input().split()
intlist = [int(s) for s in abc]
a,b,c = intlist[0],intlist[1],intlist[2]
if (a == b and a != c) | (a == c and a != b) | (b == c and c != a):
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 567,814 | 567,815 | u958210291 | python |
p02771 | dataList = input().split(" ")
if len(set(dataList)) == 2:
print("YES")
else:
print("No") | dataList = input().split(" ")
if len(set(dataList)) == 2:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 567,818 | 567,819 | u817411959 | python |
p02771 | a,b,c = map(int, input().split())
if a==b:
if a!=c:
print("Yes")
else:
print("No")
elif a!=b:
if a==c:
print("Yes")
else:
if b==c:
print("Yes")
else:
print("NO") | a,b,c = map(int, input().split())
if a==b:
if a!=c:
print("Yes")
else:
print("No")
elif a!=b:
if a==c:
print("Yes")
else:
if b==c:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 567,827 | 567,828 | u747941497 | python |
p02771 | a, b, c = map(int,input().split())
if ( a == b != c | a != b == c | a == c != b):
print('Yes')
else:
print('No')
| a, b, c = map(int,input().split())
if ( a == b != c or a != b == c or a == c != b):
print('Yes')
else:
print('No')
| [
"control_flow.branch.if.condition.change"
] | 567,830 | 567,831 | u742569919 | python |
p02771 | a, b, c = map(int,input().split())
if ( a == b != c | a != b == c | a == c != b):
print('yes')
else:
print('no')
| a, b, c = map(int,input().split())
if ( a == b != c or a != b == c or a == c != b):
print('Yes')
else:
print('No')
| [
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 567,832 | 567,831 | u742569919 | python |
p02771 | a = list(map(int,input().split()))
b = 0
if a[0]==a[1] and a[1]==a[2]:
print("No")
elif a[0]!=a[1] and a[1]!=a[2] and a[0]!=a[2]:
print("NO")
else:
print("YES") | a = list(map(int,input().split()))
b = 0
if a[0]==a[1] and a[1]==a[2]:
print("No")
elif a[0]!=a[1] and a[1]!=a[2] and a[0]!=a[2]:
print("No")
else:
print("Yes") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 567,835 | 567,836 | u470618774 | python |
p02771 |
ABC = input().split()
A = ABC[0]
B = ABC[1]
C = ABC[2]
if A==B:
if B==C:
print("No")
else:
print("Yes")
exit()
if B==C:
if A==C:
print("No")
else:
print("Yes")
exit()
if A==C:
if B==C:
print("No")
else:
print("Yes")
exit()
|
ABC = input().split()
A = ABC[0]
B = ABC[1]
C = ABC[2]
if A==B:
if B==C:
print("No")
else:
print("Yes")
exit()
if B==C:
if A==C:
print("No")
else:
print("Yes")
exit()
if A==C:
if B==C:
print("No")
else:
print("Yes")
exit()
print("No")
| [
"call.add"
] | 567,839 | 567,840 | u561859676 | python |
p02771 | L = set(list(map(int, input().split())))
if len(L)==2:
print('YES')
else:
print('NO') | L = set(list(map(int, input().split())))
if len(L)==2:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 567,841 | 567,842 | u054514819 | python |
p02771 | x,y,z=(input().split(" "))
if z == y:
if y ==x:
return("No")
else:
return("Yes")
else:
if z ==x:
return("Yes")
else:
if y == x:
return("Yes")
else:
return("No")
| x,y,z=(input().split(" "))
if z == y:
if y ==x:
print("No")
else:
print("Yes")
else:
if z ==x:
print("Yes")
else:
if y == x:
print("Yes")
else:
print("No")
| [
"function.return_value.change"
] | 567,847 | 567,848 | u244656600 | python |
p02771 | l = str(input()).split()
a = l[0]
b = l[1]
c = l[2]
if (a == b and a != c )or (c == b and a != c )or (a == c and b != c ):
print("YES")
else:
print("NO") | l = str(input()).split()
a = l[0]
b = l[1]
c = l[2]
if (a == b and a != c )or (c == b and a != c )or (a == c and b != c ):
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 567,861 | 567,862 | u493130708 | python |
p02771 | l = input().split
a = l[0]
b = l[1]
c = l[2]
if (a == b and a != c )or (c == b and a != c )or (a == c and b != c ):
print("Yes")
else:
print("No") | l = str(input()).split()
a = l[0]
b = l[1]
c = l[2]
if (a == b and a != c )or (c == b and a != c )or (a == c and b != c ):
print("Yes")
else:
print("No") | [
"call.add",
"call.arguments.change"
] | 567,863 | 567,862 | u493130708 | python |
p02771 | x, y, z = input().split(" ")
a = int(x)
b = int(y)
c = int(z)
poor = False
if a == b == c:
print('no')
else:
if a == b:
poor = not poor
if a == c:
poor = not poor
if b == c:
poor = not poor
if poor:
print('yes')
else:
print('no') | x, y, z = input().split(" ")
a = int(x)
b = int(y)
c = int(z)
poor = False
if a == b == c:
print('No')
else:
if a == b:
poor = not poor
if a == c:
poor = not poor
if b == c:
poor = not poor
if poor:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 567,869 | 567,870 | u041529470 | python |
p02771 | A, B, C = map(int,input().split())
count = 0
if(A == B):
count += 1
if(A == C):
count += 1
if(count == 1):
print('Yes')
else:
print("No") | A, B, C = map(int,input().split())
count = 0
if(A == B):
count += 1
if(A == C or B == C):
count += 1
if(count == 1):
print('Yes')
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 567,871 | 567,872 | u212347962 | python |
p02771 | print("Yes" if set(map(int,input().split())).len()==2 else "No") | print("Yes" if len(set(map(int,input().split())))==2 else "No") | [
"call.add",
"call.remove"
] | 567,875 | 567,876 | u137667583 | python |
p02771 | num = [x for x in input().split()]
print(num)
ans = 0
if num[0] == num[1]:
ans = ans + 1
if num[0] == num[2]:
ans = ans + 1
if num[1] == num[2]:
ans = ans + 1
if ans == 1:
print('Yes')
else:
print('No')
| num = [x for x in input().split()]
ans = 0
if num[0] == num[1]:
ans = ans + 1
if num[0] == num[2]:
ans = ans + 1
if num[1] == num[2]:
ans = ans + 1
if ans == 1:
print('Yes')
else:
print('No')
| [
"call.remove"
] | 567,877 | 567,878 | u579508806 | python |
p02771 | num = [x for x in input()]
ans = 0
if num[0] == num[1]:
ans = ans + 1
if num[0] == num[2]:
ans = ans + 1
if num[1] == num[2]:
ans = ans + 1
if ans == 1:
print('Yes')
else:
print('No') | num = [x for x in input().split()]
ans = 0
if num[0] == num[1]:
ans = ans + 1
if num[0] == num[2]:
ans = ans + 1
if num[1] == num[2]:
ans = ans + 1
if ans == 1:
print('Yes')
else:
print('No')
| [
"call.add"
] | 567,879 | 567,878 | u579508806 | python |
p02771 | [A,B,C]=[int(i) for i in input().split()]
if A==B:
if B!=C:
print("Yes")
else:
print("No")
else:
if B==C:
print("No")
else:
if A==C:
print("Yes")
else:
print("No") | [A,B,C]=[int(i) for i in input().split()]
if A==B:
if B!=C:
print("Yes")
else:
print("No")
else:
if B==C:
print("Yes")
else:
if A==C:
print("Yes")
else:
print("No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 567,885 | 567,886 | u435788772 | python |
p02771 | A = map(int, input().split())
print("Yes" if set(A) == 2 else "No") | A = map(int, input().split())
print("Yes" if len(set(A)) == 2 else "No") | [
"call.add",
"call.arguments.change"
] | 567,918 | 567,919 | u550835660 | python |
p02771 | lis = list(map(int,input().split()))
lis = set(lis)
if len(lis) == 2:
print('YES')
else:
print('NO') | lis = list(map(int,input().split()))
lis = set(lis)
if len(lis) == 2:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 567,951 | 567,952 | u595764679 | python |
p02771 | a,b,c=(list(map(int,input().split())))
if a==b==c:
print ('No')
else:
if a==b or a==c:
print ('Yes')
else:
print ('No') | a,b,c=(list(map(int,input().split())))
if a==b==c:
print ('No')
else:
if a==b or a==c or b==c:
print ('Yes')
else:
print ('No') | [
"control_flow.branch.if.condition.change"
] | 567,965 | 567,966 | u013202780 | python |
p02771 | A,B,C=input().split()
if A!=B and A!=C and B!=C:
print("No")
elif A==B and A==B:
print("No")
else:
print("Yes") | A,B,C=input().split()
if A!=B and A!=C and B!=C:
print("No")
elif A==B and A==B and B==C:
print("No")
else:
print("Yes") | [
"control_flow.branch.if.condition.change"
] | 567,967 | 567,968 | u849232257 | python |
p02771 | a = list(map(int,input().split()))
if(len(set(a)) == 1):
print("No")
else:
print("Yes") | a = list(map(int,input().split()))
if(len(set(a)) == 2):
print("Yes")
else:
print("No") | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change",
"call.remove",
"call.add"
] | 567,993 | 567,994 | u244416763 | python |
p02771 | print('Yes' if set(map(int, input().split()))==2 else 'No') | print('Yes' if len(set(map(int, input().split())))==2 else 'No') | [
"call.add",
"call.arguments.change"
] | 568,001 | 568,002 | u047816928 | python |
p02772 | n = int(input())
a = map(int, input().split())
for i in range(n):
no = a[i]
if (no%2==0) and (no%3!=0) and (no%5!=0):
print('DENIED')
exit()
print('APPROVED') | n = int(input())
a = list(map(int, input().split()))
for i in range(n):
no = a[i]
if (no%2==0) and (no%3!=0) and (no%5!=0):
print('DENIED')
exit()
print('APPROVED') | [
"call.add",
"call.arguments.change"
] | 568,015 | 568,016 | u024965372 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
cnt=0
for i in range(n):
if a[i]%2==0:
if a[i]%3==0:
pass
elif a[i]%5==0:
pass
else:
cnt+=1
if cnt==0:
print("APPROVED")
else:
print(cnt)
print("DENIED") | n = int(input())
a = list(map(int,input().split()))
cnt=0
for i in range(n):
if a[i]%2==0:
if a[i]%3==0:
pass
elif a[i]%5==0:
pass
else:
cnt+=1
if cnt==0:
print("APPROVED")
else:
#print(cnt)
print("DENIED") | [
"call.remove"
] | 568,035 | 568,036 | u351480677 | python |
p02772 | n=int(input())
a=list(map(int,input().split()))
x=0
for i in range(n):
if a[i]%2==0:
if a[i]%3!=0 and a[i]%3!=0:
x=1
break
if x==1:
print('DENIED')
else:
print('APPROVED')
| n=int(input())
a=list(map(int,input().split()))
x=0
for i in range(n):
if a[i]%2==0:
if a[i]%3!=0 and a[i]%5!=0:
x=1
break
if x==1:
print('DENIED')
else:
print('APPROVED')
| [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 568,041 | 568,042 | u957957759 | python |
p02772 | n,*a=map(int,open(0).read().split())
e=[i for i in a if i%2==0]
if e:
for j in e:
if j%3!=0 and j%5!=0:
print('DENIED')
break
else:
print('APPROVED')
else:
print('DENIED') | n,*a=map(int,open(0).read().split())
e=[i for i in a if i%2==0]
if e:
for j in e:
if j%3!=0 and j%5!=0:
print('DENIED')
break
else:
print('APPROVED')
else:
print('APPROVED') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,043 | 568,044 | u446711904 | python |
p02772 | n = int(input())
A = list(map(int, input().split()))
for i in range(len(A)):
if A[i] %2 == 0:
if A[i] != 3 and A[i] != 5:
print("DENIED")
exit()
else:
pass
else:
pass
print("APPROVED") | n = int(input())
A = list(map(int, input().split()))
for i in range(len(A)):
if A[i] %2 == 0:
if A[i] %3 != 0 and A[i] %5 != 0:
print("DENIED")
exit()
else:
pass
else:
pass
print("APPROVED") | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 568,045 | 568,046 | u757274384 | python |
p02772 | n = int(input())
A = list(map(int, input().split()))
for i in range(len(A)):
if A[i] %2 == 0:
if A[i] != 3 and A[i] != 5:
print("DENIED")
exit()
else:
pass
else:
pass
print("APPROVED") | n = int(input())
A = list(map(int, input().split()))
for i in range(len(A)):
if A[i] %2 == 0:
if A[i]%3 != 0 and A[i]%5 != 0:
print("DENIED")
exit()
else:
pass
else:
pass
print("APPROVED") | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 568,045 | 568,047 | u757274384 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
flg = 0
for i in A:
if i % 2 == 0 and (i % 3 == 0 or i % 5 == 0) and flg != 2:
flg = 1
elif i % 2 == 0:
flg = 2
if flg == 1:
print('APPROVED')
else:
print('DENIED') | N = int(input())
A = list(map(int, input().split()))
flg = 0
for i in A:
if i % 2 == 0 and (i % 3 == 0 or i % 5 == 0) and flg != 2:
flg = 1
elif i % 2 == 0:
flg = 2
if flg == 0 or flg == 1:
print('APPROVED')
else:
print('DENIED') | [
"control_flow.branch.if.condition.change"
] | 568,067 | 568,068 | u695261159 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
for i in A:
if i % 2 == 0:
even_num.append(i)
for j in range(len(even_num)):
if even_num[j] % 3 != 0 and even_num[j] % 5 != 0:
print('DENIED')
exit()
print('APPROVED') | N = int(input())
A = list(map(int, input().split()))
even_num = []
for i in A:
if i % 2 == 0:
even_num.append(i)
for j in range(len(even_num)):
if even_num[j] % 3 != 0 and even_num[j] % 5 != 0:
print('DENIED')
exit()
print('APPROVED') | [
"assignment.add"
] | 568,069 | 568,070 | u351654473 | python |
p02772 | import sys
n=int(input())
a=list(map(int,input().split()))
for i in a:
if i%2==0:
if i%3!=0 or i%5!=0:
print("DENIED")
sys.exit()
print("APPROVED") | import sys
n=int(input())
a=list(map(int,input().split()))
for i in a:
if i%2==0:
if i%3!=0 and i%5!=0:
print("DENIED")
sys.exit()
print("APPROVED")
| [
"control_flow.branch.if.condition.change"
] | 568,081 | 568,082 | u437351386 | python |
p02772 | n = int(input())
a = list(map(int, input().split()))
for i in range(n):
if a[i] % 2 == 0:
if (a[i] % 3 == 0) | (a[i] % 5 == 0):
print('DENIED')
break
else:
print('APPROVED') | n = int(input())
a = list(map(int, input().split()))
for i in range(n):
if a[i] % 2 == 0:
if not ((a[i] % 3 == 0) | (a[i] % 5 == 0)):
print('DENIED')
break
else:
print('APPROVED') | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 568,083 | 568,084 | u288335507 | python |
p02772 | def main() :
input()
a = map(int, input().split())
for i in a :
if i%2==0 and i%3 != 0 and i%5 != 0 :
print("DENIED")
return
print("APROVED")
if __name__ == '__main__':
import sys;
try:
main(sys.argv)
except TypeError:
... | def main() :
input()
a = map(int, input().split())
for i in a :
if i%2==0 and i%3 != 0 and i%5 != 0 :
print("DENIED")
return
print("APPROVED")
if __name__ == '__main__':
import sys;
try:
main(sys.argv)
except TypeError:
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,087 | 568,088 | u878654696 | python |
p02772 | def main() :
input()
a = map(int, input().split())
for i in a :
if i%2==0 and i%3 != 0 and i%3 != 0 :
print("DENIED")
return
print("APROVED")
if __name__ == '__main__':
import sys;
try:
main(sys.argv)
except TypeError:
... | def main() :
input()
a = map(int, input().split())
for i in a :
if i%2==0 and i%3 != 0 and i%5 != 0 :
print("DENIED")
return
print("APPROVED")
if __name__ == '__main__':
import sys;
try:
main(sys.argv)
except TypeError:
... | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,089 | 568,088 | u878654696 | python |
p02772 | def main():
N = int(input())
A = list(map(int, input().split()))
even = []
for e in A:
if e % 2 == 0:
even.append(e)
print(even)
for e in even:
if e % 3 != 0 and e % 5 != 0:
print("DENIED")
exit(0)
print("APPROVED")
if __name__ == "_... | def main():
N = int(input())
A = list(map(int, input().split()))
even = []
for e in A:
if e % 2 == 0:
even.append(e)
for e in even:
if e % 3 != 0 and e % 5 != 0:
print("DENIED")
exit(0)
print("APPROVED")
if __name__ == "__main__":
ma... | [
"call.remove"
] | 568,099 | 568,100 | u450478592 | python |
p02772 | n = int(input())
a = list(map(int, input().split()))
ans = DENIED
for i in range(n):
if a[i]%2 == 1:
continue
else:
if a[i]%3==0 or a[i]%5==0:
continue
else:
break
else:
ans = APPROVED
print(ans) | n = int(input())
a = list(map(int, input().split()))
ans = 'DENIED'
for i in range(n):
if a[i]%2 == 1:
continue
else:
if a[i]%3==0 or a[i]%5==0:
continue
else:
break
else:
ans = 'APPROVED'
print(ans) | [] | 568,103 | 568,104 | u075303794 | python |
p02772 | N = int(input())
A_list = list(map(int, input().split()))
f = True
for a in A_list:
if a % 2 == 1:
continue
elif a % 3 == 0 or a % 5 == 0:
continue
if f:
print("ACCEPTED")
else:
print("DENIED") | N = int(input())
A_list = list(map(int, input().split()))
f = True
for a in A_list:
if a % 2 == 1:
continue
elif a % 3 == 0 or a % 5 == 0:
continue
else:
f = False
if f:
print("APPROVED")
else:
print("DENIED") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,122 | 568,123 | u922487073 | python |
p02772 | N = int(input())
A = list(map(int,intput().split()))
for i in range(N):
if A[i]%2 == 0 and (A[i]%3 != 0 and A[i]%5 != 0):
print('DENIED')
exit()
print('APPROVED') | N = int(input())
A = list(map(int,input().split()))
for i in range(N):
if A[i]%2 == 0 and (A[i]%3 != 0 and A[i]%5 != 0):
print('DENIED')
exit()
print('APPROVED') | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 568,124 | 568,125 | u446774692 | python |
p02772 | n=int(input())
A=list(map(int,input().split()))
for i in A:
if i%2==0:
if i%3!=0 or i%5!=0:
print("DENIED");exit()
print("APPROVED") | n=int(input())
A=list(map(int,input().split()))
for i in A:
if i%2==0:
if i%3!=0 and i%5!=0:
print("DENIED");exit()
print("APPROVED") | [
"control_flow.branch.if.condition.change"
] | 568,128 | 568,129 | u023229441 | python |
p02772 | n=int(input())
a=list(map(int,input().split()))
list_a=[]
for i in a:
if i%2==0:
list_a.append(i)
if all([list_a[i]%3==0 or list_a[i]%5==0 for i in range(len(list_a)-1)]):
print('APPROVED')
else:
print('DENIED')
| n=int(input())
a=list(map(int,input().split()))
list_a=[]
for i in a:
if i%2==0:
list_a.append(i)
if all([list_a[i]%3==0 or list_a[i]%5==0 for i in range(len(list_a))]):
print('APPROVED')
else:
print('DENIED')
| [
"expression.operation.binary.remove"
] | 568,134 | 568,135 | u768256617 | python |
p02772 | n=input()
s=list(map(int,input().split()))
for i in s:
if i%2==0:
if i%3>0 or i%5>0:
n=0
print(["APPROVED","DENIED"][n==0]) | n=input()
s=list(map(int,input().split()))
for i in s:
if i%2==0:
if i%3>0 and i%5>0:
n=0
print(["APPROVED","DENIED"][n==0]) | [
"control_flow.branch.if.condition.change"
] | 568,138 | 568,139 | u813174766 | python |
p02772 | n = int(input())
l = map(int, input().split())
b = all([i%3==0 and i%5==0 for i in l if i%2 == 0])
print('APPROVED' if b else 'DENIED') | n = int(input())
l = map(int, input().split())
b = all([i%3==0 or i%5==0 for i in l if i%2 == 0])
print('APPROVED' if b else 'DENIED')
| [
"assignment.value.change",
"call.arguments.change"
] | 568,144 | 568,145 | u697502900 | python |
p02772 | n=int(input())
a=list(map(int,input().split()))
for i in a:
if i%2==0 and (i%3!=0 or i%5!=0):
print("DENIED")
exit()
print("APPROVED")
| n=int(input())
a=list(map(int,input().split()))
for i in a:
if i%2==0 and (i%3!=0 and i%5!=0):
print("DENIED")
exit()
print("APPROVED")
| [
"control_flow.branch.if.condition.change"
] | 568,146 | 568,147 | u344065503 | python |
p02772 | n=int(input())
a=list(map(int,input().split()))
for i in a:
if i%2!=0 and (i%3!=0 or i%5!=0):
print("DENIED")
exit()
print("APPROVED") | n=int(input())
a=list(map(int,input().split()))
for i in a:
if i%2==0 and (i%3!=0 and i%5!=0):
print("DENIED")
exit()
print("APPROVED")
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 568,148 | 568,147 | u344065503 | python |
p02772 | n=int(input())
a=list(map(int,input().split()))
for i in a:
if i%2!=0 and (i%3!=0 and i%5!=0):
print("DENIED")
exit()
print("APPROVED")
| n=int(input())
a=list(map(int,input().split()))
for i in a:
if i%2==0 and (i%3!=0 and i%5!=0):
print("DENIED")
exit()
print("APPROVED")
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 568,149 | 568,147 | u344065503 | python |
p02772 | n=int(input())
a=list(map(int,input().split()))
for i in a:
if not i%2==0 and (i%3==0 or i%5==0):
print("DENIED")
exit()
print("APPROVED") | n=int(input())
a=list(map(int,input().split()))
for i in a:
if i%2==0 and (i%3!=0 and i%5!=0):
print("DENIED")
exit()
print("APPROVED")
| [
"control_flow.branch.if.condition.change",
"misc.opposites",
"expression.operator.compare.change"
] | 568,150 | 568,147 | u344065503 | python |
p02772 | n = int(input())
a = list(map(int, input().split()))
for i in range(n):
if a[i] % 2 == 0:
if a[i] % 3 == 0 or a[i] % 5:
continue
else:
print('DENIED')
exit()
print('APPROVED') | n = int(input())
a = list(map(int, input().split()))
for i in range(n):
if a[i] % 2 == 0:
if a[i] % 3 == 0 or a[i] % 5 == 0:
continue
else:
print('DENIED')
exit()
print('APPROVED') | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 568,160 | 568,161 | u760831084 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
A_even = [i for i in A if i % 2 == 0]
flag_list = list(map(lambda x: (x % 3 == 0) or (x % 5 == 0), A_even))
print(flag_list)
print('APPROVED' if False not in flag_list else 'DENIED')
| N = int(input())
A = list(map(int, input().split()))
A_even = [i for i in A if i % 2 == 0]
flag_list = list(map(lambda x: (x % 3 == 0) or (x % 5 == 0), A_even))
print('APPROVED' if False not in flag_list else 'DENIED')
| [
"call.remove"
] | 568,162 | 568,163 | u572122511 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
A_even = [i for i in A if i % 2 == 0]
flag_list = list(map(lambda x: (x % 3 == 0) or (x % 5 == 0), A_even))
print('APPROVED' if False not in flag_list else 'DENIDE') | N = int(input())
A = list(map(int, input().split()))
A_even = [i for i in A if i % 2 == 0]
flag_list = list(map(lambda x: (x % 3 == 0) or (x % 5 == 0), A_even))
print('APPROVED' if False not in flag_list else 'DENIED')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,164 | 568,163 | u572122511 | python |
p02772 | import sys
n = int(input())
a = list(map(int, input().split()))
p = 'DENIED'
for i in a:
if i % 2 == 0:
if i % 3 == 0 or i % 5 == 0:
p = 'APPROVED'
else:
print('DENIED')
sys.exit()
print(p) | import sys
n = int(input())
a = list(map(int, input().split()))
p = 'APPROVED'
for i in a:
if i % 2 == 0:
if i % 3 == 0 or i % 5 == 0:
continue
else:
print('DENIED')
sys.exit()
print(p) | [
"literal.string.change",
"assignment.value.change"
] | 568,167 | 568,168 | u188827677 | python |
p02772 | N=int(input())
A=list(map(int,input().split()))
B=[0]*N
for i in range(N):
if A[i]%2==1:
B[0]=0
else :
if A[i]%5==0 or A[i]%3==0 :
B[i]=0
else :
B[i]=1
print("APPROVED" if sum(B)==0 else "DENIED") | N=int(input())
A=list(map(int,input().split()))
B=[0]*N
for i in range(N):
if A[i]%2==1:
B[i]=0
else :
if A[i]%5==0 or A[i]%3==0 :
B[i]=0
else :
B[i]=1
print("APPROVED" if sum(B)==0 else "DENIED") | [
"assignment.variable.change",
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change"
] | 568,172 | 568,173 | u768890894 | python |
p02772 | N = int(input())
a = list(map(int,input().split()))
flag = False
for i in range(N):
if a[i]%2 ==0:
if a[i]%3==0 or a[i]%5==0:
flag = True
else:
flag = False
break
if flag == True:
print('APPROVED')
else:
print('DENIED')
| N = int(input())
a = list(map(int,input().split()))
flag = True
for i in range(N):
if a[i]%2 ==0:
if a[i]%3==0 or a[i]%5==0:
flag = True
else:
flag = False
break
if flag == True:
print('APPROVED')
else:
print('DENIED') | [
"misc.opposites",
"assignment.value.change"
] | 568,174 | 568,175 | u766646838 | python |
p02772 | N = int(input())
a = list(map(int,input().split()))
flag = False
for i in range(N):
if a[i]%2 ==0:
if a[i]%3==0 or a[i]%5 ==0:
flag = True
else:
falg = False
break
if flag == True:
print('APPROVED')
else:
print('DENIED') | N = int(input())
a = list(map(int,input().split()))
flag = True
for i in range(N):
if a[i]%2 ==0:
if a[i]%3==0 or a[i]%5==0:
flag = True
else:
flag = False
break
if flag == True:
print('APPROVED')
else:
print('DENIED') | [
"misc.opposites",
"assignment.value.change",
"assignment.variable.change",
"identifier.change"
] | 568,176 | 568,175 | u766646838 | python |
p02772 | from math import floor,ceil,sqrt,factorial,log
from collections import Counter, deque
from functools import reduce
import itertools
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 itertools
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()]... | [
"misc.opposites",
"assignment.value.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 568,177 | 568,178 | u215286521 | python |
p02772 | def main():
n = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 0:
if not a % 3 == 0 or a % 5 == 0:
print('DENIED')
return
print('APPROVED')
if __name__ == '__main__':
main()
| def main():
n = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 0:
if not (a % 3 == 0 or a % 5 == 0):
print('DENIED')
return
print('APPROVED')
if __name__ == '__main__':
main()
| [
"control_flow.branch.if.condition.change"
] | 568,179 | 568,180 | u279266699 | python |
p02772 | n = int(input())
a = list(int(input().split()))
ret = 'APPROVED'
for i in a:
if i%2 == 0:
if i%3 != 0 and i%5 != 0:
ret = 'DENIED'
break
print(ret) | n = int(input())
a = list(map(int, input().split()))
ret = 'APPROVED'
for i in a:
if i%2 == 0:
if i%3 != 0 and i%5 != 0:
ret = 'DENIED'
break
print(ret) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change",
"call.arguments.add"
] | 568,192 | 568,193 | u729627789 | python |
p02772 | # Papers, Please
N = int(input())
A = list(map(int, input().split()))
for Ai in A:
if Ai % 2 == 1:
continue
else:
if Ai % 3 != 0 and Ai % 5 != 0:
print("DENIED")
exit()
print("AOOROVED") | # Papers, Please
N = int(input())
A = list(map(int, input().split()))
for Ai in A:
if Ai % 2 == 1:
continue
else:
if Ai % 3 != 0 and Ai % 5 != 0:
print("DENIED")
exit()
print("APPROVED") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,209 | 568,210 | u929217794 | python |
p02772 | N=int(input())
A=list(map(int,input().split()))
a=[]
b=[]
for i in A:
if i%2==0:
a.append(i)
for n in a:
if n%3==0 or n%5==0:
b.append(n)
if len(a)==len(b):
print('APPROAD')
else:
print('DENIED') | N=int(input())
A=list(map(int,input().split()))
a=[]
b=[]
for i in A:
if i%2==0:
a.append(i)
for n in a:
if n%3==0 or n%5==0:
b.append(n)
if len(a)==len(b):
print('APPROVED')
else:
print('DENIED') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,211 | 568,212 | u052838115 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
ans = 'APPROVED'
for i in range(N):
if A[i] % 2 == 0 or A[i] % 6 == 0 or A[i] % 10:
continue
else:
ans = 'DENIED'
break
print(ans) | N = int(input())
A = list(map(int, input().split()))
ans = 'APPROVED'
for i in range(N):
if A[i] % 2 == 0 and A[i] % 6 != 0 and A[i] % 10 != 0:
ans = 'DENIED'
break
print(ans) | [
"control_flow.branch.if.condition.change",
"misc.opposites",
"expression.operator.compare.change"
] | 568,213 | 568,214 | u616542081 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
ans = True
for i in a:
if i % 2 == 0:
if not i % 3 == 0 or i % 5 == 0:
ans = False
break
if ans:
print('APPROVED')
else:
print('DENIED') | n = int(input())
a = list(map(int,input().split()))
ans = True
for i in a:
if i % 2 == 0:
if not (i % 3 == 0 or i % 5 == 0):
ans = False
break
if ans:
print('APPROVED')
else:
print('DENIED')
| [
"control_flow.branch.if.condition.change"
] | 568,215 | 568,216 | u611090896 | python |
p02772 | n = int(input())
A = list(map(int,input().split()))
ans = "APPROVED"
for i in range(n):
if A[i]%2 == 0:
if A[i]%3!=0 or A[i]%5!=0:
ans = "DENIED"
print(ans)
| n = int(input())
A = list(map(int,input().split()))
ans = "APPROVED"
for i in range(n):
if A[i]%2 == 0:
if A[i]%3!=0 and A[i]%5!=0:
ans = "DENIED"
print(ans)
| [
"control_flow.branch.if.condition.change"
] | 568,222 | 568,223 | u853728588 | python |
p02772 | N = int(input())
A = list(map(int,input().split()))
ans = "DENIED"
for i in range(N):
if A[i] % 2 == 0:
if A[i] % 3 == 0 or A[i] % 5 == 0:
ans = "APPROVED"
print(ans) | N = int(input())
A = list(map(int,input().split()))
ans = "APPROVED"
for i in range(N):
if A[i] % 2 == 0:
if A[i] % 3 != 0 and A[i] % 5 != 0:
ans = "DENIED"
print(ans) | [
"literal.string.change",
"assignment.value.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 568,224 | 568,225 | u967484343 | python |
p02772 | if __name__ == '__main__':
n = input()
A = list(map(int,input().split()))
cnt = 0
for i in A:
if i % 2 == 0:
if i % 3 == 0 or i % 5 == 0:
cnt += 1
else:
cnt += 1
if cnt == n:
print("APPROVED")
else:
print("DENIED")
| if __name__ == '__main__':
n = int(input())
A = list(map(int,input().split()))
cnt = 0
for i in A:
if i % 2 == 0:
if i % 3 == 0 or i % 5 == 0:
cnt += 1
else:
cnt += 1
if cnt == n:
print("APPROVED")
else:
print("DENIED")
| [
"call.add",
"call.arguments.change"
] | 568,229 | 568,230 | u517797706 | python |
p02772 | n=int(input())
a=list(map(int,input().split()))
ans="APPROVED"
for i in range(n):
if a[i]%2==0 and a[i]%3!=0 or a[i]%5!=0:
ans="DENIED"
print(ans) | n=int(input())
a=list(map(int,input().split()))
ans="APPROVED"
for i in range(n):
if a[i]%2==0 and a[i]%3!=0 and a[i]%5!=0:
ans="DENIED"
print(ans) | [
"control_flow.branch.if.condition.change"
] | 568,272 | 568,273 | u492910842 | python |
p02772 | n = int(input())
a = list(map(int, input().split()))
flg = True
for i in range(n):
if a[i]%2 == 0:
cnt += 1
if a[i]%3 == 0 or a[i]%5 == 0:
pass
else:
flg = False
if flg: print("APPROVED")
else: print("DENIED") | n = int(input())
a = list(map(int, input().split()))
flg = True
for i in range(n):
if a[i]%2 == 0:
if a[i]%3 == 0 or a[i]%5 == 0:
pass
else:
flg = False
if flg: print("APPROVED")
else: print("DENIED") | [] | 568,278 | 568,279 | u771383254 | python |
p02772 | n = int(inpout())
numbers = map(int, input().split())
even_numbers = []
for i in numbers:
if i % 2 == 0:
even_numbers.append(i)
answers = []
for i in even_numbers:
if i % 3 == 0 or i % 5 == 0:
answers.append(i)
if even_numbers == answers:
print('APPROVED')
else:
print('DENIED') | n = int(input())
numbers = map(int, input().split())
even_numbers = []
for i in numbers:
if i % 2 == 0:
even_numbers.append(i)
answers = []
for i in even_numbers:
if i % 3 == 0 or i % 5 == 0:
answers.append(i)
if even_numbers == answers:
print('APPROVED')
else:
print('DENIED')
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 568,284 | 568,285 | u125269142 | python |
p02772 | n = int(input())
a = list(map(int, input().split()))
for i in a:
if i%2 == 0:
if not (i%3==0 or i%5==0):
print("DENIED")
print(i)
exit()
print("APPROVED") | n = int(input())
a = list(map(int, input().split()))
for i in a:
if i%2 == 0:
if not (i%3==0 or i%5==0):
print("DENIED")
exit()
print("APPROVED") | [
"call.remove"
] | 568,286 | 568,287 | u196291054 | python |
p02772 | n = int(input())
a = list(map(int, input().split()))
for i in a:
if i%2 == 0:
if not i%3==0 or not i%5==0:
print("DENIED")
exit()
print("APPROVED") | n = int(input())
a = list(map(int, input().split()))
for i in a:
if i%2 == 0:
if not (i%3==0 or i%5==0):
print("DENIED")
exit()
print("APPROVED") | [
"control_flow.branch.if.condition.change"
] | 568,288 | 568,287 | u196291054 | python |
p02772 | n= int(input())
l= list(map(int, input().split()))
ans= "APPROVED"
for i in l:
if i%2==0:
if i%3 != 0 or i%5 !=0:
ans= "DENIED"
print(ans) | n= int(input())
l= list(map(int, input().split()))
ans= "APPROVED"
for i in l:
if i%2==0:
if i%3 != 0 and i%5 !=0:
ans= "DENIED"
print(ans) | [
"control_flow.branch.if.condition.change"
] | 568,289 | 568,290 | u000085263 | python |
p02772 | N=int(input())
a1=input().split()
a2=[int(i) for i in a1]
for i in a2:
if i%2==0 and i%3!=0 and 1%5!=0:
print('DENIED')
break
else:
print('APPROVED') | N=int(input())
a1=input().split()
a2=[int(i) for i in a1]
for i in a2:
if i%2==0 and i%3!=0 and i%5!=0:
print('DENIED')
break
else:
print('APPROVED') | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 568,291 | 568,292 | u388463553 | python |
p02772 | n = int(input())
A = list(map(int,input().split()))
ans = 0
for a in A:
if a % 2 == 0:
if a % 3 == 0 or a % 5 == 0:
ans = 1
break
if ans == 1:
print("APPROVED")
else:
print("DENIED")
| n = int(input())
A = list(map(int,input().split()))
ans = 1
for a in A:
if a % 2 == 0:
if not(a % 3 == 0 or a % 5 == 0):
ans = 0
break
if ans == 1:
print("APPROVED")
else:
print("DENIED")
| [
"literal.number.integer.change",
"assignment.value.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 568,293 | 568,294 | u652656291 | python |
p02772 | # 155b
def atc_155b(input_value: str) -> str:
N = int(input_value[0])
Ai = [int(ai) for ai in input_value[1].split(" ")]
for i in range(0, N):
if Ai[i] % 2 == 0 and Ai[i] % 3 != 0 and Ai[i] % 5 != 0:
return "DENIED"
return "APPROVED"
N = input()
Ai = input()
print(atc_155b[N, Ai])
| # 155b
def atc_155b(input_value: str) -> str:
N = int(input_value[0])
Ai = [int(ai) for ai in input_value[1].split(" ")]
for i in range(0, N):
if Ai[i] % 2 == 0 and Ai[i] % 3 != 0 and Ai[i] % 5 != 0:
return "DENIED"
return "APPROVED"
N = input()
Ai = input()
print(atc_155b([N, Ai])... | [
"call.arguments.change"
] | 568,311 | 568,312 | u053535689 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 0 and (a % 3 != 0 and a % 5 != 0):
print('DENIED')
else:
print('APPROVED') | N = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 0:
if a % 3 != 0 and a % 5 != 0:
print('DENIED')
break
else:
print('APPROVED') | [
"control_flow.loop.for.condition.change",
"control_flow.branch.if.condition.change",
"control_flow.break.add"
] | 568,315 | 568,316 | u596536048 | python |
p02772 | import sys
n=int(input())
a=list(map(int,input().split()))
b=a[:]
for i in range(len(a)):
if a[i]%2!=0:
b.remove(a[i])
for i in b:
if i%3!=0:
if i%5!=0:
print(i)
print('DENIED')
sys.exit()
print('APPROVED') | import sys
n=int(input())
a=list(map(int,input().split()))
b=a[:]
for i in range(len(a)):
if a[i]%2!=0:
b.remove(a[i])
for i in b:
if i%3!=0:
if i%5!=0:
print('DENIED')
sys.exit()
print('APPROVED') | [
"call.remove"
] | 568,319 | 568,320 | u800058906 | python |
p02772 | import sys
read = sys.stdin.read
readlines = sys.stdin.readlines
import numpy as np
def main():
a = np.fromstring(read(), np.int64, sep=' ')[1:]
a = a[a % 2 == 0]
if np.all((a % 3 == 0) or (a % 5 == 0)):
print('APPROVED')
else:
print('DENIED')
if __name__ == '__main__':
main()
| import sys
read = sys.stdin.read
readlines = sys.stdin.readlines
import numpy as np
def main():
a = np.fromstring(read(), np.int64, sep=' ')[1:]
a = a[a % 2 == 0]
if np.all((a % 3 == 0) | (a % 5 == 0)):
print('APPROVED')
else:
print('DENIED')
if __name__ == '__main__':
main()
| [
"control_flow.branch.if.condition.change"
] | 568,321 | 568,322 | u072717685 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
ans = True
for i in range(N):
if A[i] % 2 == 0:
if A[i] % 3 != 0 or A[i] % 5 != 0:
ans = False
if ans:
print("APPROVED")
else:
print("DENIED") | N = int(input())
A = list(map(int, input().split()))
ans = True
for i in range(N):
if A[i] % 2 == 0:
if A[i] % 3 != 0 and A[i] % 5 != 0:
ans = False
if ans:
print("APPROVED")
else:
print("DENIED") | [
"control_flow.branch.if.condition.change"
] | 568,323 | 568,324 | u159144188 | python |
p02772 | N = int(input())
A = list(map(int, input.split()))
ans = True
for i in range(N):
if A[i] % 2 == 0:
if A[i] % 3 != 0 or A[i] % 5 != 0:
ans = False
if ans:
print("APPROVED")
else:
print("DENIED") | N = int(input())
A = list(map(int, input().split()))
ans = True
for i in range(N):
if A[i] % 2 == 0:
if A[i] % 3 != 0 and A[i] % 5 != 0:
ans = False
if ans:
print("APPROVED")
else:
print("DENIED") | [
"call.add",
"control_flow.branch.if.condition.change"
] | 568,325 | 568,324 | u159144188 | python |
p02772 | n=int(input())
x = map(int, input().split())
for i in x :
if i % 2 == 0 :
if i % 3!=0 or i % 5 !=0:
print('DENIED')
exit()
print('APPROVED')
| n=int(input())
x = map(int, input().split())
for i in x :
if i % 2 == 0 :
if i % 3!=0 and i % 5 !=0:
print('DENIED')
exit()
print('APPROVED')
| [
"control_flow.branch.if.condition.change"
] | 568,326 | 568,327 | u681502232 | python |
p02772 | N = int(input())
an = list(map(int,input().split()))
boolian = False
for i in range(N):
if an[i] % 2 == 0:
if an[i] % 3 ==0 or an[i] % 5 ==0:
boolian = True
else:
boolian = False
break
if boolian == False:
print('DENIED')
if boolian == True:
print(... | N = int(input())
an = list(map(int,input().split()))
boolian = True
for i in range(N):
if an[i] % 2 == 0:
if an[i] % 3 ==0 or an[i] % 5 ==0:
boolian = True
else:
boolian = False
break
if boolian == False:
print('DENIED')
if boolian == True:
print('... | [
"misc.opposites",
"assignment.value.change"
] | 568,330 | 568,331 | u786150969 | python |
p02772 | N = int(input())
an = list(map(int,input().split()))
boolian = False
for i in range(N):
if an[i] % 2 == 0:
if an[i] % 3 ==0 or an[i] % 5 ==0:
boolian = True
else:
boolian = False
break
if boolian == False:
print('DNIED')
if boolian == True:
print('... | N = int(input())
an = list(map(int,input().split()))
boolian = True
for i in range(N):
if an[i] % 2 == 0:
if an[i] % 3 ==0 or an[i] % 5 ==0:
boolian = True
else:
boolian = False
break
if boolian == False:
print('DENIED')
if boolian == True:
print('... | [
"misc.opposites",
"assignment.value.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,332 | 568,331 | u786150969 | python |
p02772 | N = int(input())
S = list(map(int,input().split()))
B= list()
X = list()
for i in S:
if i % 2== 0:
B.append(i)
for n in B:
if n % 3 == 0 or n % 5 == 0:
X.append(n)
if len(B) == len(X):
print('APPROVE')
else:
print('DENIED')
| N = int(input())
S = list(map(int,input().split()))
B= list()
X = list()
for i in S:
if i % 2== 0:
B.append(i)
for n in B:
if n % 3 == 0 or n % 5 == 0:
X.append(n)
if len(B) == len(X):
print('APPROVED')
else:
print('DENIED')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,333 | 568,334 | u076363290 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
ans = 'APPROVED'
for i in range(N):
if N[i] % 2 == 0:
if N[i] % 3 != 0 or N[i] % 5 != 0:
ans = 'DENIED'
break
print(ans) | N = int(input())
A = list(map(int, input().split()))
ans = 'APPROVED'
for i in range(N):
if A[i] % 2 == 0 and A[i] % 3 != 0 and A[i] % 5 != 0:
ans = 'DENIED'
break
print(ans) | [
"identifier.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 568,342 | 568,343 | u309120194 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
ans = 'APPROVED'
for i in range(N):
if N[i] % 2 == 0:
if N[i] % 3 != 0 or N[i] % 5 != 0:
ans = 'DENIED'
break
print(ans) | N = int(input())
A = list(map(int, input().split()))
ans = 'APPROVED'
for i in range(N):
if A[i] % 2 == 0:
if A[i] % 3 != 0 and A[i] % 5 != 0:
ans = 'DENIED'
break
print(ans) | [
"identifier.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 568,342 | 568,344 | u309120194 | python |
p02772 | N=int(input())
S=[int(s) for s in input().split()]
for i in range(N):
if S[i]%2==0 and S[i]%5!=0 and S[i]%3!=0:
print("DENIED")
elif i==N-1:
print("APPROVED") | N=int(input())
S=[int(s) for s in input().split()]
for i in range(N):
if S[i]%2==0 and S[i]%5!=0 and S[i]%3!=0:
print("DENIED")
break
elif i==N-1:
print("APPROVED") | [
"control_flow.break.add"
] | 568,347 | 568,348 | u321605735 | python |
p02772 | n = int(input())
x = list(map(int,input().split()))
for i in x:
if i%2==0:
if i%6!=0 or i%10!=0:
print("DENIED")
exit()
print("APPROVED") | n = int(input())
x = list(map(int,input().split()))
for i in x:
if i%2==0:
if i%6!=0:
if i%10!=0:
print("DENIED")
exit()
print("APPROVED") | [
"control_flow.branch.if.condition.change"
] | 568,351 | 568,352 | u620846115 | python |
p02772 | n = int(input())
lst = list(map(int,input().split()))
c = 0
for i in range(n):
if (lst[i]%2 == 0):
if (lst[i]%3 == 0 or lst[i]%5 == 0):
c = 1
if (c == 0):
print("APPROVED")
else:
print("DENIED")
| n = int(input())
lst = list(map(int,input().split()))
c = 0
for i in range(n):
if (lst[i]%2 == 0):
if (lst[i]%3 != 0 and lst[i]%5 != 0):
c = 1
if (c == 0):
print("APPROVED")
else:
print("DENIED")
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 568,370 | 568,371 | u625864724 | python |
p02772 | n = int(input())
lst = list(map(int,input().split()))
c = 0
for i in range(n):
if (lst[i]%2 == 0):
if (lst[i]%3 != 0 or lst[i]%5 != 0):
c = 1
if (c == 0):
print("APPROVED")
else:
print("DENIED") | n = int(input())
lst = list(map(int,input().split()))
c = 0
for i in range(n):
if (lst[i]%2 == 0):
if (lst[i]%3 != 0 and lst[i]%5 != 0):
c = 1
if (c == 0):
print("APPROVED")
else:
print("DENIED")
| [
"control_flow.branch.if.condition.change"
] | 568,372 | 568,371 | u625864724 | python |
p02772 | n = int(input())
a = list(map(int, input().split()))
for num in a:
if num % 2 == 0:
if num%3==0 or num%5==0:
pass
else:
print('DENIED')
print('APPROVED') | n = int(input())
a = list(map(int, input().split()))
for num in a:
if num % 2 == 0:
if num%3==0 or num%5==0:
pass
else:
print('DENIED')
exit()
print('APPROVED') | [
"call.add"
] | 568,375 | 568,376 | u958506960 | python |
p02772 | N=int(input())
list1=[]
list2=[]
for i in map(int,input().split()):
if i % 2 == 0:
list1.append(i)
if i % 2 == 0 and i % 3 == 0 or i % 5 ==0:
list2.append(i)
if list1 == list2:
print('APPROVED')
else:
print('DENIED') | N=int(input())
list1=[]
list2=[]
for i in map(int,input().split()):
if i % 2 == 0:
list1.append(i)
if i % 2 == 0 and (i % 3 == 0 or i % 5 ==0):
list2.append(i)
if list1 == list2:
print('APPROVED')
else:
print('DENIED') | [
"control_flow.branch.if.condition.change"
] | 568,385 | 568,386 | u897220832 | python |
p02772 | from sys import stdin
def main():
n = int(input())
a = list(map(int, input().split()))
flag = False
for i in range(n):
if (a[i] % 2 == 0):
if a[i] % 3 == 0 or a[i] % 5 == 0:
flag = True
else:
flag = False
break
if fl... | from sys import stdin
def main():
n = int(input())
a = list(map(int, input().split()))
flag = True
for i in range(n):
if (a[i] % 2 == 0):
if a[i] % 3 == 0 or a[i] % 5 == 0:
flag = True
else:
flag = False
break
if fl... | [
"misc.opposites",
"assignment.value.change"
] | 568,387 | 568,388 | u964726243 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.