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 |
|---|---|---|---|---|---|---|---|
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:
main()
|
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:
main()
|
[
"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:
main()
|
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:
main()
|
[
"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__ == "__main__":
main()
|
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__":
main()
|
[
"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()]
def LS(): return list(MS())
def LI(): return list(MI())
def LLS(): return [list(map(str, l.split() )) for l in input()]
def LLI(): return [list(map(int, l.split() )) for l in input()]
def LLSN(n: int): return [LS() for _ in range(n)]
def LLIN(n: int): return [LI() for _ in range(n)]
N = I()
A = LI()
ans = False
for a in A:
if a % 2 != 0:
continue
if a % 3 == 0 or a % 5 == 0:
ans = True
if ans:
print("APPROVED")
else:
print("DENIED")
|
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()]
def LS(): return list(MS())
def LI(): return list(MI())
def LLS(): return [list(map(str, l.split() )) for l in input()]
def LLI(): return [list(map(int, l.split() )) for l in input()]
def LLSN(n: int): return [LS() for _ in range(n)]
def LLIN(n: int): return [LI() for _ in range(n)]
N = I()
A = LI()
ans = True
for a in A:
if a % 2 != 0:
continue
if a % 3 != 0 and a % 5 != 0:
ans = False
if ans:
print("APPROVED")
else:
print("DENIED")
|
[
"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('APPROVED')
|
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('APPROVED')
|
[
"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('APPROVED')
|
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('APPROVED')
|
[
"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 flag:
print('APPROVED')
else:
print('DENIED')
if __name__ == "__main__":
main()
|
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 flag:
print('APPROVED')
else:
print('DENIED')
if __name__ == "__main__":
main()
|
[
"misc.opposites",
"assignment.value.change"
] | 568,387
| 568,388
|
u964726243
|
python
|
p02772
|
n = int(input())
a = list(int(x) for x in input().split() if int(x)%2==0)
ok = True
for i in a:
if i%3==0 or i%5==0:
print('DENIED')
ok = False
break
if ok:
print('APPROVED')
|
n = int(input())
a = list(int(x) for x in input().split() if int(x)%2==0)
ok = True
for i in a:
if i%3!=0 and i%5!=0:
print('DENIED')
ok = False
break
if ok:
print('APPROVED')
|
[
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 568,391
| 568,392
|
u935642171
|
python
|
p02772
|
n = int(input())
a = list(int(x) for x in input().split() if int(x)%2==0)
ok = True
for i in a:
if i%3!=0 and i%5!=0:
print('DENIED')
ok = False
if ok:
print('APPROVED')
|
n = int(input())
a = list(int(x) for x in input().split() if int(x)%2==0)
ok = True
for i in a:
if i%3!=0 and i%5!=0:
print('DENIED')
ok = False
break
if ok:
print('APPROVED')
|
[
"control_flow.break.add"
] | 568,393
| 568,392
|
u935642171
|
python
|
p02772
|
N=int(input())
A=list(map(int,input().split()))
p=True
for a in A:
if a%2==0:
if not a%3==0 or a%5==0:
p=False
break
print("APPROVED" if p else "DENIED")
|
N=int(input())
A=list(map(int,input().split()))
p=True
for a in A:
if a%2==0:
if not (a%3==0 or a%5==0):
p=False
break
print("APPROVED" if p else "DENIED")
|
[
"control_flow.branch.if.condition.change"
] | 568,406
| 568,407
|
u054825571
|
python
|
p02772
|
n=int(input())
a=[int(i) for i in input().split()]
flag=0
for i in range(0,len(a)):
if(a[i]%2==0 and a[i]%3==0 and a[i]%5==0):
pass
elif(a[i]%2==0 and (a[i]%3!=0 or a[i]%5!=0)):
flag=1
break
if(flag==1):
print('DENIED')
else:
print('APPROVED')
|
n=int(input())
a=[int(i) for i in input().split()]
flag=0
for i in range(0,len(a)):
if(a[i]%2==0 and (a[i]%3==0 or a[i]%5==0)):
pass
elif(a[i]%2==0 and (a[i]%3!=0 or a[i]%5!=0)):
flag=1
break
if(flag==1):
print('DENIED')
else:
print('APPROVED')
|
[
"control_flow.branch.if.condition.change"
] | 568,429
| 568,430
|
u108509795
|
python
|
p02772
|
n = int(input())
a = list(map(int, input().split()))
b=0
x=0
for i in range(n):
if a[i]%2==0:
x+=1
if a[i]%3==0 or a[i]%5==0:
b+=1
print('APPROVED' if b==x else 'DENNIED')
|
n = int(input())
a = list(map(int, input().split()))
b=0
x=0
for i in range(n):
if a[i]%2==0:
x+=1
if a[i]%3==0 or a[i]%5==0:
b+=1
print('APPROVED' if b==x else 'DENIED')
|
[
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,436
| 568,437
|
u736479342
|
python
|
p02772
|
n = int(input())
a = list(map(int, input().split()))
b=0
for i in range(n):
if a[i]%2==0 and a[i]%3!=0 and a[i]%5!=0:
b+=1
print('APPROVED' if b==0 else 'DENNIED')
|
n = int(input())
a = list(map(int, input().split()))
b=0
for i in range(n):
if a[i]%2==0 and a[i]%3!=0 and a[i]%5!=0:
b+=1
print('APPROVED' if b==0 else 'DENIED')
|
[
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,439
| 568,440
|
u736479342
|
python
|
p02772
|
n = int(input())
a = list(map(int, input().split()))
b=0
for i in range(n):
if a[i]%2==0 and a[i]%3!=0 and a[i]%5!=0:
b+=1
print('DENNIED' if b>=1 else 'APPROVED')
|
n = int(input())
a = list(map(int, input().split()))
b=0
for i in range(n):
if a[i]%2==0 and a[i]%3!=0 and a[i]%5!=0:
b+=1
print('APPROVED' if b==0 else 'DENIED')
|
[
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,441
| 568,440
|
u736479342
|
python
|
p02772
|
import math
import time
from collections import defaultdict, deque
from sys import stdin, stdout
from bisect import bisect_left, bisect_right
n=int(input())
a=list(map(int,stdin.readline().split()))
poss=True
for i in a:
if(i%2==0):
if(i%3!=0 or i%5!=0):
poss=False
break
if(poss):
print("APPROVED")
else:
print("DENIED")
|
import math
import time
from collections import defaultdict, deque
from sys import stdin, stdout
from bisect import bisect_left, bisect_right
n=int(input())
a=list(map(int,stdin.readline().split()))
poss=True
for i in a:
if(i%2==0):
if(i%3!=0 and i%5!=0):
poss=False
break
if(poss):
print("APPROVED")
else:
print("DENIED")
|
[
"control_flow.branch.if.condition.change"
] | 568,457
| 568,458
|
u021114240
|
python
|
p02772
|
N=int(input())
flag=True
nums=list(map(int, input().split()))
for x in nums:
if x%2:
continue
else:
if x%3==0 and x%5==0:
continue
else:
flag=False
break
if flag:
print("APPROVED")
else:
print("DENIED")
|
N=int(input())
flag=True
nums=list(map(int, input().split()))
for x in nums:
if x%2:
continue
else:
if x%3==0 or x%5==0:
continue
else:
flag=False
break
if flag:
print("APPROVED")
else:
print("DENIED")
|
[
"control_flow.branch.if.condition.change"
] | 568,463
| 568,464
|
u595600198
|
python
|
p02772
|
n=int(input())
l=list(map(int,input().split()))
c=0
for i in range(n-1):
if l[i]%2==0:
if l[i]%3!=0 and l[i]%5!=0:
print("DENITED")
c=1
break
if c!=1:
print("APPROVED")
|
n=int(input())
l=list(map(int,input().split()))
c=0
for i in range(n):
if l[i]%2==0:
if l[i]%3!=0 and l[i]%5!=0:
print("DENIED")
c=1
break
if c!=1:
print("APPROVED")
|
[
"expression.operation.binary.remove",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,486
| 568,487
|
u332793228
|
python
|
p02772
|
n=int(input())
l=list(map(int,input().split()))
c=0
for i in range(n):
if l[i]%2==0:
if l[i]%3!=0 and l[i]%5!=0:
print("DENITED")
c=1
break
if c!=1:
print("APPROVED")
|
n=int(input())
l=list(map(int,input().split()))
c=0
for i in range(n):
if l[i]%2==0:
if l[i]%3!=0 and l[i]%5!=0:
print("DENIED")
c=1
break
if c!=1:
print("APPROVED")
|
[
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,488
| 568,487
|
u332793228
|
python
|
p02772
|
N = int(input())
#リストにするとき
A_list = list(map(int,input().split()))
for i in A_list:
if i%2==0 and (i%3!=0 and i%5!=0):
a+=1
if a>0:
print('DENIED')
else:
print('APPROVED')
|
N = int(input())
A_list = list(map(int,input().split()))
a=0
for i in A_list:
if i%2==0 and (i%3!=0 and i%5!=0):
a+=1
if a>0:
print('DENIED')
else:
print('APPROVED')
|
[
"assignment.add"
] | 568,497
| 568,498
|
u021906447
|
python
|
p02772
|
N = int(input())
A = list(map(int, input().split()))
B = 0
for i in range(N):
if A[i]%6 == 0 or A[i]%10 == 0:
continue
elif A[i]%2 == 1:
continue
else:
B = 1
print('APPROVED' if B==0 else 'DNIED')
|
N = int(input())
A = list(map(int, input().split()))
B = 0
for i in range(N):
if A[i]%6 == 0 or A[i]%10 == 0:
continue
elif A[i]%2 == 1:
continue
else:
B = 1
print('APPROVED' if B==0 else 'DENIED')
|
[
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,509
| 568,510
|
u331997680
|
python
|
p02772
|
N = int(input())
A = [int(x) for x in input().split()]
result = True
for i in range(N):
if A[i] % 2 == 0:
if A[i] % 3 != 0 or A[i] % 5 != 0:
result = False
break
if result == True:
print("APPROVED")
else:
print("DENIED")
|
N = int(input())
A = [int(x) for x in input().split()]
result = True
for i in range(N):
if A[i] % 2 == 0:
if A[i] % 3 != 0 and A[i] % 5 != 0:
result = False
break
if result == True:
print("APPROVED")
else:
print("DENIED")
|
[
"control_flow.branch.if.condition.change"
] | 568,514
| 568,515
|
u916662650
|
python
|
p02772
|
n = int(input())
A = list(map(int, input().split()))
A = [a for a in A if a % 2 == 0]
print(A)
ans = "APPROVED"
for a in A:
if (a % 3 != 0) and (a % 5 != 0):
ans = "DENIED"
break
print(ans)
|
n = int(input())
A = list(map(int, input().split()))
A = [a for a in A if a % 2 == 0]
ans = "APPROVED"
for a in A:
if (a % 3 != 0) and (a % 5 != 0):
ans = "DENIED"
break
print(ans)
|
[
"call.remove"
] | 568,527
| 568,528
|
u731322489
|
python
|
p02772
|
N=int(input())
L=list(map(int,input().split()))
M=[]
for i in L:
if i%2==0:
M.append(i)
A='APPROVED'
for k in M:
if k%3!=0 or k%5!=0:
A='DENIED'
break
print(A)
|
N=int(input())
L=list(map(int,input().split()))
M=[]
for i in L:
if i%2==0:
M.append(i)
A='APPROVED'
for k in M:
if k%3!=0 and k%5!=0:
A='DENIED'
break
print(A)
|
[
"control_flow.branch.if.condition.change"
] | 568,531
| 568,532
|
u830162518
|
python
|
p02772
|
N=int(input())
A=list(map(int,input().split()))
i=0
for i in range(N):
if A[i]%2==1 or (A[i]%2==0 and A[i]%3==0) or (A[i]%2==0 and A[i]%5==0):
i+=1
if i+1==N:
print("APPROVED")
else:
print("DENIED")
break
|
N=int(input())
A=list(map(int,input().split()))
i=0
for i in range(N):
if A[i]%2==1 or (A[i]%2==0 and A[i]%3==0) or (A[i]%2==0 and A[i]%5==0):
i+=1
if i==N:
print("APPROVED")
else:
print("DENIED")
break
|
[
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove"
] | 568,535
| 568,536
|
u333546629
|
python
|
p02772
|
N = int(input())
lis = list(map(int,input().split()))
result = "APPROVED"
for i in lis:
if i %2 ==0:
if i %3 !=0 or i%5 !=0:
result = "DENIED"
break
print(result)
|
N = int(input())
lis = list(map(int,input().split()))
result = "APPROVED"
for i in lis:
if i %2 ==0:
if i %3 !=0 and i%5 !=0:
result = "DENIED"
break
print(result)
|
[
"control_flow.branch.if.condition.change"
] | 568,540
| 568,541
|
u652445326
|
python
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.