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 |
|---|---|---|---|---|---|---|---|
p02772 | n=int(input())
list=list(map(int,input().split()))
ans=1
for i in range(len(list)):
if list[i]%2==0:
if list[i]%3==0 or list[i]%5==0:
ans=0
else:
ans=1
break
print("APPROVED" if ans==0 else "DENIED") | n=int(input())
list=list(map(int,input().split()))
ans=0
for i in range(len(list)):
if list[i]%2==0:
if list[i]%3==0 or list[i]%5==0:
ans=0
else:
ans=1
break
print("APPROVED" if ans==0 else "DENIED") | [
"literal.number.integer.change",
"assignment.value.change"
] | 568,544 | 568,545 | u185767120 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
ans = 'DENIED'
for i in a:
if i % 2 == 0:
if i % 3 == 0 or i % 5 == 0:
ans = 'APPROVED'
else:
break
else:
ans = 'APPROVED'
print(ans) | n = int(input())
a = list(map(int,input().split()))
ans = 'DENIED'
for i in a:
if i % 2 == 0:
if i % 3 == 0 or i % 5 == 0:
ans = 'APPROVED'
else:
ans = 'DENIED'
break
else:
ans = 'APPROVED'
print(ans) | [
"assignment.add"
] | 568,555 | 568,556 | u548093253 | python |
p02772 | n=int(input())
a=list(map(int,input().split()))
a=[i for i in a if i%2==0]
for i in a:
if i%3==0 or i%5==0:
continue
else:
print("DENIED")
break
print("APPROVED") | n=int(input())
a=list(map(int,input().split()))
a=[i for i in a if i%2==0]
for i in a:
if i%3==0 or i%5==0:
continue
else:
print("DENIED")
exit()
print("APPROVED")
| [
"control_flow.break.remove",
"control_flow.exit.add",
"call.add"
] | 568,559 | 568,560 | u482743994 | python |
p02772 | #!usr/bin/env python3
import sys
import math
import string
import collections
import fractions
import random
from operator import itemgetter
import itertools
from collections import deque
import copy
import heapq
import bisect
MOD = 10 ** 9 + 7
INF = float('inf')
input = lambda: sys.stdin.readline().strip()
sys.setre... | #!usr/bin/env python3
import sys
import math
import string
import collections
import fractions
import random
from operator import itemgetter
import itertools
from collections import deque
import copy
import heapq
import bisect
MOD = 10 ** 9 + 7
INF = float('inf')
input = lambda: sys.stdin.readline().strip()
sys.setre... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,565 | 568,566 | u385244248 | python |
p02772 | n = int(input())
a = list(map(int, input().split()))
ans = []
for i in range(n):
if a[i] % 2 == 0:
if a[i] % 3 == 0 or a[i] % 5 == 0:
ans.append(1)
else:
ans.append(-1)
if len(set(ans)) == 1:
print('APPROVED')
else:
print('DENIED') | n = int(input())
a = list(map(int, input().split()))
ans = [1]
for i in range(n):
if a[i] % 2 == 0:
if a[i] % 3 == 0 or a[i] % 5 == 0:
ans.append(1)
else:
ans.append(-1)
if len(set(ans)) == 1:
print('APPROVED')
else:
print('DENIED') | [] | 568,570 | 568,571 | u254221913 | python |
p02772 | n = int(input())
L = list(map(int, input().split()))
S=set()
for i in range(n):
if L[i]%2==0:
S.add(L[i])
p=0
for s in S:
if s%3!=0 or s%5!=0:
print('DENIED')
p+=1
break
if p==0:
print('APPROVED') | n = int(input())
L = list(map(int, input().split()))
S=set()
for i in range(n):
if L[i]%2==0:
S.add(L[i])
p=0
for s in S:
if s%3!=0 and s%5!=0:
print('DENIED')
p+=1
break
if p==0:
print('APPROVED')
| [
"control_flow.branch.if.condition.change"
] | 568,572 | 568,573 | u886459614 | python |
p02772 | x = input()
y = input()
list = y.split()
even_list = []
result = ''
for i in list:
i = int(i)
if i % 2 == 0:
even_list.append(i)
else:
result = "DENIED"
for y in even_list:
if y % 3 == 0 or y % 5 == 0:
result = "APPROVED"
else:
result = "DENIED"
break
print(result)
| x = input()
y = input()
list = y.split()
even_list = []
result = ''
for i in list:
i = int(i)
if i % 2 == 0:
even_list.append(i)
else:
result = "APPROVED"
for y in even_list:
if y % 3 == 0 or y % 5 == 0:
result = "APPROVED"
else:
result = "DENIED"
break
print(result) | [
"literal.string.change",
"assignment.value.change"
] | 568,574 | 568,575 | u457437854 | python |
p02772 | n = int(input())
a = list(map(int, input().split()))
flag = 0
for x in a:
if x%2==0 and (x%3 and x%5):
flag = 1
if flag:
print("DEBIED")
else :
print("APPROVED")
| n = int(input())
a = list(map(int, input().split()))
flag = 0
for x in a:
if x%2==0 and (x%3 and x%5):
flag = 1
if flag:
print("DENIED")
else :
print("APPROVED")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,577 | 568,578 | u111684666 | python |
p02772 | N = int(input())
L = list(map(int, input().split()))
ans = "APPROVED"
for i in range(N):
if L[i]%2 == 0:
if L[i]%3 == 0 and L[i]%5 == 0:
pass
else:
ans = "DENIED"
break
print(ans)
| N = int(input())
L = list(map(int, input().split()))
ans = "APPROVED"
for i in range(N):
if L[i]%2 == 0:
if L[i]%3 == 0 or L[i]%5 == 0:
pass
else:
ans = "DENIED"
break
print(ans)
| [
"control_flow.branch.if.condition.change"
] | 568,579 | 568,580 | u411858517 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
b=0
for i in range(n-1):
if a[i]%2==1:
b +=0
else:
if a[i]%3 ==0 or a[i]%5==0:
b +=0
else:
b +=1
if b == 0:
print('APPROVED')
else:
print('DENIED')
| n = int(input())
a = list(map(int,input().split()))
b=0
for i in range(n):
if a[i]%2==1:
b +=0
else:
if a[i]%3 ==0 or a[i]%5==0:
b +=0
else:
b +=1
if b == 0:
print('APPROVED')
else:
print('DENIED') | [
"expression.operation.binary.remove"
] | 568,581 | 568,582 | u464912173 | python |
p02772 | stdin = open(0).read().split('\n')
N=int(stdin[0])
A=map(int,stdin[1].split())
flag=True
for a in A:
if a%2==0 and a%3!=0 and a%5!=0:
flag=False
exit()
print('APPROVED' if flag else 'DENIED') | stdin = open(0).read().split('\n')
N=int(stdin[0])
A=map(int,stdin[1].split())
flag=True
for a in A:
if a%2==0 and a%3!=0 and a%5!=0:
flag=False
break
print('APPROVED' if flag else 'DENIED') | [
"control_flow.exit.remove",
"control_flow.break.add",
"call.arguments.change"
] | 568,585 | 568,586 | u913662443 | python |
p02772 | import sys
N = int(input())
arr = list(map(int, input().split()))
for i in range(len(arr)):
if arr[i] % 2 == 0 and (arr[i] % 3 != 0 and arr[i] % 5 != 0):
print("DENIED")
break
else:
print("APPROVED")
| import sys
N = int(input())
arr = list(map(int, input().split()))
for i in range(len(arr)):
if arr[i] % 2 == 0 and (arr[i] % 3 != 0 and arr[i] % 5 != 0):
print("DENIED")
exit()
print("APPROVED") | [] | 568,587 | 568,588 | u142211940 | python |
p02772 | import sys
N = int(input())
arr = list(map(int, input().split()))
for i in range(len(arr)):
if arr[i] % 2 == 0 and (arr[i] % 3 != 0 and arr[i] % 5 != 0):
print("DENIED")
break
else:
print("APPRPVED")
| import sys
N = int(input())
arr = list(map(int, input().split()))
for i in range(len(arr)):
if arr[i] % 2 == 0 and (arr[i] % 3 != 0 and arr[i] % 5 != 0):
print("DENIED")
exit()
print("APPROVED") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,589 | 568,588 | u142211940 | python |
p02772 | N = int(input())
An = list(map(int,input().split()))
for i in An:
if i%2==0:
if i%3 !=0 and i%5==0:
print('DENIED')
exit()
else:
print('APPROVED')
| N = int(input())
An = list(map(int,input().split()))
for i in An:
if i%2==0:
if i%3 !=0 and i%5!=0:
print('DENIED')
exit()
else:
print('APPROVED') | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 568,606 | 568,607 | u124499550 | python |
p02772 | N = [int(i) for i in input().split]
A = [int(i) for i in input().split]
if all([i%2==1 for i in A]):
print('APPROVED')
else:
even = [i for i in A if i%2==0]
even = [0 if i%3==0 or i%5==0 else 1 for i in even]
if max(even)==1:
print('DENIED')
else:
print('APPROVED') | N = [int(i) for i in input().split()]
A = [int(i) for i in input().split()]
if all([i%2==1 for i in A]):
print('APPROVED')
else:
even = [i for i in A if i%2==0]
even = [0 if i%3==0 or i%5==0 else 1 for i in even]
if max(even)==1:
print('DENIED')
else:
print('APPROVED') | [
"call.add"
] | 568,610 | 568,611 | u375432485 | python |
p02772 | n=int(input())
a=[int(x) for x in input().split()]
flag=True
for i in a:
if i%2==0:
if i%3==0 or i%5==0:
f=True
else:
f=False
break
if f:
print("APPROVED")
else:
print("DENIED") | n=int(input())
a=[int(x) for x in input().split()]
f=True
for i in a:
if i%2==0:
if i%3==0 or i%5==0:
f=True
else:
f=False
break
if f:
print("APPROVED")
else:
print("DENIED") | [
"assignment.variable.change",
"identifier.change"
] | 568,614 | 568,615 | u810092294 | python |
p02772 | N = int(input())
a = [0]*N
a = list(map(int, input().split()))
for i in range(N):
if a[i]%2 == 0:
if a[i]%3 != 0 and a[i]%5 != 0:
print('DENIED')
break
if i == N-1:
print('APPROVE') | N = int(input())
a = [0]*N
a = list(map(int, input().split()))
for i in range(N):
if a[i]%2 == 0:
if a[i]%3 != 0 and a[i]%5 != 0:
print('DENIED')
break
if i == N-1:
print('APPROVED') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,618 | 568,619 | u067273593 | python |
p02772 | N = int(input())
l = list(map(int, input().split()))
for i in l:
if i % 2 == 0:
if i % 3 !=0 or i % 5 != 0:
print("DENIED")
exit()
print("APPROVED") | N = int(input())
l = list(map(int, input().split()))
for i in l:
if i % 2 == 0:
if i % 3 !=0 and i % 5 != 0:
print("DENIED")
exit()
print("APPROVED") | [
"control_flow.branch.if.condition.change"
] | 568,621 | 568,622 | u617718239 | python |
p02772 | N = int(input())
lists = list(map(int, input().split()))
for i in lists:
if i % 2 == 0:
if i % 3 == 0:
break
elif i % 5 == 0:
break
else:
print("DENIED")
exit()
print("APPROVED") | N = int(input())
lists = list(map(int, input().split()))
for i in lists:
if i % 2 == 0:
if i % 3 == 0:
continue
elif i % 5 == 0:
continue
else:
print("DENIED")
exit()
print("APPROVED") | [
"control_flow.break.remove",
"control_flow.continue.add"
] | 568,630 | 568,631 | u604874738 | python |
p02772 | N=int(input())
A=list(map(int,input().split()))
print("APPROVED" if all(i%2==0 and (i%3==0 or i%5==0) for i in A) else "DENIED") | N=int(input())
A=list(map(int,input().split()))
print("APPROVED" if all([i%2!=0 or i%3==0 or i%5==0 for i in A]) else "DENIED") | [
"call.arguments.change",
"misc.opposites",
"expression.operator.compare.change",
"io.output.change"
] | 568,634 | 568,635 | u440161695 | python |
p02772 | n = int(input())
a_list = list(map(int, input().split()))
flag = "ok"
for i in a_list:
print(i)
if i%2 == 0:
if i%3 != 0 and i%5 != 0:
flag = "ng"
if flag == "ok":
print("APPROVED")
else:
print("DENIED") | n = int(input())
a_list = list(map(int, input().split()))
flag = "ok"
for i in a_list:
#print(i)
if i%2 == 0:
if i%3 != 0 and i%5 != 0:
flag = "ng"
if flag == "ok":
print("APPROVED")
else:
print("DENIED")
| [
"call.remove"
] | 568,646 | 568,647 | u482157295 | python |
p02772 | n = int(input())
a_list = list(map(int, input().split()))
flag = "ok"
for i in a_list:
if i%2 == 0:
if i%3 != 0 or i%5 != 0:
flag = "ng"
if flag == "ok":
print("APPROVED")
else:
print("DENIED")
| n = int(input())
a_list = list(map(int, input().split()))
flag = "ok"
for i in a_list:
#print(i)
if i%2 == 0:
if i%3 != 0 and i%5 != 0:
flag = "ng"
if flag == "ok":
print("APPROVED")
else:
print("DENIED")
| [
"control_flow.branch.if.condition.change"
] | 568,648 | 568,647 | u482157295 | python |
p02772 | n = int(input())
a = [int(i) for i in input().split() if i % 2 == 0]
for i in a:
if a % 3 != 0 and a % 5 != 0:
print("DENIED")
exit()
print("APPROVED") | n = int(input())
a = [int(i) for i in input().split() if int(i) % 2 == 0]
for i in a:
if i % 3 != 0 and i % 5 != 0:
print("DENIED")
exit()
print("APPROVED") | [
"call.add",
"call.arguments.change",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 568,656 | 568,657 | u067694718 | python |
p02772 | n = int((input()))
a = list(map(int, input().split()))
f = False
for i in a:
if i % 2 == 0:
if i % 3 == 0 or i % 5 == 0:
f = True
else:
f = False
break
if f:
print("APPROVED")
else:
print("DENIED") | n = int((input()))
a = list(map(int, input().split()))
f = True
for i in a:
if i % 2 == 0:
if i % 3 == 0 or i % 5 == 0:
f = True
else:
f = False
break
if f:
print("APPROVED")
else:
print("DENIED") | [
"misc.opposites",
"assignment.value.change"
] | 568,662 | 568,663 | u443569380 | python |
p02772 |
vals = input().split(" ")
vals = map(int, vals)
bol = True
for val in vals :
if val % 2 == 0 :
if not (val % 3 == 0 or val % 5 == 0) :
bol = False
if bol :
print("APPLOVE")
else :
print("DENIED")
| input()
vals = input().split(" ")
vals = map(int, vals)
bol = True
for val in vals :
if val % 2 == 0 :
if not (val % 3 == 0 or val % 5 == 0) :
bol = False
if bol :
print("APPROVED")
else :
print("DENIED")
| [
"call.add",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,668 | 568,669 | u815754241 | python |
p02772 | n = int(input())
aa = list(map(int, input().split()))
for a in aa:
if n % 2 == 0 and not (n % 3 == 0 or n % 5 == 0):
print("DENIED")
exit(0)
print("APPROVED") | n = int(input())
aa = list(map(int, input().split()))
for a in aa:
if a % 2 == 0 and not (a % 3 == 0 or a % 5 == 0):
print("DENIED")
exit(0)
print("APPROVED") | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 568,678 | 568,679 | u622570247 | 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("APPROVED")
else:
print("DENIED")
break
else:
print("APPROVED")
| 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:
continue
else:
print("DENIED")
break
else:
print("APPROVED")
| [
"io.output.change",
"call.arguments.change"
] | 568,680 | 568,681 | u231038326 | python |
p02772 | N=int(input())
A=[int(s) for s in 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) | N=int(input())
A=[int(s) for s in 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) | [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 568,682 | 568,683 | u847165882 | python |
p02772 | n = int(input())
li = list(map(int, input().split()))
ans = true
for i in li:
if i % 2 == 1:
ans = false
break
else:
if i % 3 != 0 and i % 5 != 0:
ans = false
break
if ans:
print("APPROVED")
else:
print("DENIED") | n = int(input())
li = list(map(int, input().split()))
ans = True
for i in li:
if i % 2 == 1:
continue
else:
if i % 3 != 0 and i % 5 != 0:
ans = False
break
if ans:
print("APPROVED")
else:
print("DENIED")
| [
"misc.typo",
"assignment.value.change",
"control_flow.break.remove"
] | 568,692 | 568,693 | u914330401 | python |
p02772 | print("APPROVED" if int(input()) == xsum([1 for e in [int(a) for a in input().split(" ")] if not(e % 2 == 0 and e % 3 != 0 and e % 5 != 0)]) else "DENIED") | print("APPROVED"if int(input())==sum([1 for e in[int(a)for a in input().split(" ")]if not(e%2==0 and e%3!=0 and e%5!=0)])else"DENIED") | [
"identifier.change",
"call.function.change",
"call.arguments.change",
"io.output.change"
] | 568,703 | 568,704 | u284744415 | python |
p02772 |
x = int(input())
n = []
# for i in range(x):
# n[i] = int(input())
n = [int(e) for e in input().split()]
def cal(n):
count = 0
for i in range(len(n)):
if n[i] % 2 == 0:
if n[i] % 3 == 0 and n[i] % 5 == 0:
count += 1
else:
count += 1
if count == l... |
x = int(input())
n = []
# for i in range(x):
# n[i] = int(input())
n = [int(e) for e in input().split()]
def cal(n):
count = 0
for i in range(len(n)):
if n[i] % 2 == 0:
if n[i] % 3 == 0 or n[i] % 5 == 0:
count += 1
else:
count += 1
if count == le... | [
"control_flow.branch.if.condition.change"
] | 568,716 | 568,717 | u493697945 | python |
p02772 | def main():
N = int(input())
A = list(map(int,input().split()))
i = 0
while i < N:
if A[i] % 2 == 0:
if (A[i] % 3) != 0 and (A[i] % 5) != 0:
break
return("DENIED")
i += 1
return("APPROVED")
print(main()) | def main():
N = int(input())
A = list(map(int,input().split()))
i = 0
while i < N:
if A[i] % 2 == 0:
if (A[i] % 3) != 0 and (A[i] % 5) != 0:
return("DENIED")
break
i += 1
return("APPROVED")
print(main()) | [
"control_flow.break.remove",
"control_flow.break.add"
] | 568,718 | 568,719 | u031722966 | python |
p02772 | def main():
N = int(input())
A = list(map(int,input().split()))
i = 0
while i < N:
if A[i] % 2 == 0:
if (A[i] % 3) != 0 and (A[i] % 5) != 0:
break
i += 1
return("APPROVED")
print(main()) | def main():
N = int(input())
A = list(map(int,input().split()))
i = 0
while i < N:
if A[i] % 2 == 0:
if (A[i] % 3) != 0 and (A[i] % 5) != 0:
return("DENIED")
break
i += 1
return("APPROVED")
print(main()) | [
"control_flow.return.add"
] | 568,720 | 568,719 | u031722966 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
check = 0
for i in range(n) :
if a[i]%2 == 0 :
if a[i]%3 == 0 or a[i]%5 == 0 :
continue
else :
check = 1
if check == 0 :
print('APPROVED')
else :
print('DENIDE') | n = int(input())
a = list(map(int,input().split()))
check = 0
for i in range(n) :
if a[i]%2 == 0 :
if a[i]%3 == 0 or a[i]%5 == 0 :
continue
else :
check = 1
if check == 0 :
print('APPROVED')
else :
print('DENIED') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,725 | 568,726 | u454557108 | 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 == 0:
continue
else:
print('DENIED')
break
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.break.remove",
"control_flow.exit.add",
"call.add"
] | 568,740 | 568,741 | u309423187 | 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 == 0:
continue
else:
print('DENIED')
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')
| [
"call.add"
] | 568,742 | 568,741 | u309423187 | python |
p02772 | n = int(input())
data = input().split()
ans = "APPROVED"
for i in range(n):
num = int(data[i])
if num % 2 == 0:
if num % 3 != 0 or num % 5 != 0:
ans = "DENIED"
break
print(ans)
| n = int(input())
data = input().split()
ans = "APPROVED"
for i in range(n):
num = int(data[i])
if num % 2 == 0:
if num % 3 != 0 and num % 5 != 0:
ans = "DENIED"
break
print(ans)
| [
"control_flow.branch.if.condition.change"
] | 568,743 | 568,744 | u860966226 | python |
p02772 | n=int(input())
a=list(map(int,input().split()))
ans="APPROVED"
for i in range(n-1):
if a[i]%2==0 and a[i]%3!=0 and 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)
| [
"expression.operation.binary.remove"
] | 568,746 | 568,747 | u517724953 | python |
p02772 | n=int(input())
a=list(map(int,input().split()))
ans="APPROVED"
for i in range(n-1):
if a[i]%2==0 and a[i]%3!=0 and 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) | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 568,746 | 568,748 | u517724953 | python |
p02772 | ##======================================python3
''' ===========================================
## null
##
##
=========================================== '''
import sys
from sys import stdin #read(), readline()
input = stdin.readline
import heapq #heappush(trgt, val) heappop(trgt) trgt[0] __lt__<
sys.setrecursionlimit(... | ##======================================python3
''' ===========================================
## null
##
##
=========================================== '''
import sys
from sys import stdin #read(), readline()
input = stdin.readline
import heapq #heappush(trgt, val) heappop(trgt) trgt[0] __lt__<
sys.setrecursionlimit(... | [
"call.arguments.change"
] | 568,751 | 568,752 | u980875259 | python |
p02772 | x=int(input())
y=input()
z=y.split()
e=0
for i in z:
w=int(i)%2
if w%2 == 0:
if w%5 == 0:
continue
elif w%3 ==0:
continue
else:
e=1
if e == 1:
print("DENIED")
else:
print("APPROVED") | x=int(input())
y=input()
z=y.split()
e=0
for i in z:
w=int(i)
if w%2 == 0:
if w%5 == 0:
continue
elif w%3 ==0:
continue
else:
e=1
if e == 1:
print("DENIED")
else:
print("APPROVED")
| [
"expression.operation.binary.remove"
] | 568,755 | 568,756 | u374018235 | python |
p02772 | N = int(input())
Af = list(map(int,input().split()))
A = list()
for i in range(N):
if Af[i] % 2 == 0:
A.append(Af[1])
continue
else:
continue
for i in range(len(A)):
if A[i] % 3 != 0 and A[i] % 5 != 0:
print('DENIED')
import sys
sys.exit()
if A[i] % 3 == 0 or A[i] % 5 == 0:
... | N = int(input())
Af = list(map(int,input().split()))
A = list()
for i in range(N):
if Af[i] % 2 == 0:
A.append(Af[i])
continue
else:
continue
for i in range(len(A)):
if A[i] % 3 != 0 and A[i] % 5 != 0:
print('DENIED')
import sys
sys.exit()
if A[i] % 3 == 0 or A[i] % 5 == 0:
... | [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"call.arguments.change"
] | 568,765 | 568,766 | u514118270 | python |
p02772 | '''input
3
28 27 24
'''
n = input()
a = map(int, input().split())
ok = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 and i % 5 != 0:
ok = 0
if ok == 1:
print("APPROVED")
else:
print("DENIED") | '''input
3
28 27 24
'''
n = input()
a = map(int, input().split())
ok = 1
for i in a:
if i % 2 == 0:
if i % 3 != 0 and i % 5 != 0:
ok = 0
if ok == 1:
print("APPROVED")
else:
print("DENIED") | [
"literal.number.integer.change",
"assignment.value.change"
] | 568,772 | 568,773 | u168474884 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
for i in range(a):
if i%2==0:
if 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:
if i%3 !=0 and i%5 !=0:
print('DENIED')
exit()
print('APPROVED')
| [
"call.remove",
"call.arguments.change"
] | 568,774 | 568,775 | u137808818 | python |
p02772 | A=input().split()
x = input().split()
target ="APPROVED"
for i in x:
if int(i)%2 == 0:
if int(i)%3 > 0 or int(i)%5 > 0:
target = "DENIED"
break
print(target)
| A=input().split()
x = input().split()
target ="APPROVED"
for i in x:
if int(i)%2 == 0:
if int(i)%3 > 0 and int(i)%5 > 0:
target = "DENIED"
break
print(target)
| [
"control_flow.branch.if.condition.change"
] | 568,776 | 568,777 | u177138269 | python |
p02772 | rangeNum = int(input())
n = list(map(int, input().split()))
for ni in range(rangeNum):
if n[ni]%2 == 0:
if n[ni]%3 == 0:
continue
elif n[ni]%5 == 0:
continue
else:
print("DENIED")
break
else:
continue
print("APPROVED") | rangeNum = int(input())
n = list(map(int, input().split()))
for ni in range(rangeNum):
if n[ni]%2 == 0:
if n[ni]%3 == 0:
continue
elif n[ni]%5 == 0:
continue
else:
print("DENIED")
exit()
else:
continue
print("APPROVED") | [
"control_flow.break.remove",
"control_flow.exit.add",
"call.add"
] | 568,785 | 568,786 | u019113646 | python |
p02772 | rangeNum = int(input())
n = list(map(int, input().split()))
for ni in range(rangeNum):
if n[ni]%2 == 0:
if n[ni]%3 == 0:
continue
elif n[ni]%5 == 0:
continue
else:
print("DENIED")
else:
continue
print("APPROVED") | rangeNum = int(input())
n = list(map(int, input().split()))
for ni in range(rangeNum):
if n[ni]%2 == 0:
if n[ni]%3 == 0:
continue
elif n[ni]%5 == 0:
continue
else:
print("DENIED")
exit()
else:
continue
print("APPROVED") | [
"call.add"
] | 568,787 | 568,786 | u019113646 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
AA = [x % 3 == 0 or x % 5 == 0 for x in A if x % 2 == 0]
if any(AA):
print("APPROVED")
else:
print("DENIED") | N = int(input())
A = list(map(int, input().split()))
AA = [x % 3 != 0 and x % 5 != 0 for x in A if x % 2 == 0]
if any(AA):
print("DENIED")
else:
print("APPROVED") | [
"misc.opposites",
"expression.operator.compare.change",
"assignment.value.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,794 | 568,795 | u047102107 | python |
p02772 | N=int(input().split())
list=list(map(int,input().split()))
flg=0
for i in(list):
if(i%2==0):
if(i%3!=0 and i%5!=0):
flg=1
break
if(flg==0):
print('APPROVED')
else:
print('DENIED') | N=int(input())
list=list(map(int,input().split()))
flg=0
for i in(list):
if(i%2==0):
if(i%3!=0 and i%5!=0):
flg=1
break
if(flg==0):
print('APPROVED')
else:
print('DENIED')
| [
"call.remove"
] | 568,809 | 568,810 | u335664637 | python |
p02772 | n = int(input())
list = map(int,input().split())
list2=[]
for i in list:
if i%2==0:
list2.append(i)
if list2:
if all(i%3==0 or i%5==0 for i in list2):
print('APPROVED')
else:
print('DENIED')
else:
print('DENIED')
| n = int(input())
list = map(int,input().split())
list2=[]
for i in list:
if i%2==0:
list2.append(i)
if list2:
if all(i%3==0 or i%5==0 for i in list2):
print('APPROVED')
else:
print('DENIED')
else:
print('APPROVED')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,811 | 568,812 | u728318205 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
c = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0:
if i % 5 != 0:
c += 0
if c == 0:
print("APPROVED")
else:
print("DENIED") | n = int(input())
a = list(map(int,input().split()))
cnt = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 and i % 5 != 0:
cnt += 1
if cnt == 0:
print("APPROVED")
else:
print("DENIED") | [
"assignment.variable.change",
"identifier.change",
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 568,816 | 568,817 | u969211566 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
c = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 and i % 5 != 0:
c += 0
if c == 0:
print("APPROVED")
else:
print("DENIED") | n = int(input())
a = list(map(int,input().split()))
cnt = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 and i % 5 != 0:
cnt += 1
if cnt == 0:
print("APPROVED")
else:
print("DENIED") | [
"assignment.variable.change",
"identifier.change",
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 568,818 | 568,817 | u969211566 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
c = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 or i % 5 != 0:
c += 0
if c == 0:
print("APPROVED")
else:
print("DENIED") | n = int(input())
a = list(map(int,input().split()))
cnt = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 and i % 5 != 0:
cnt += 1
if cnt == 0:
print("APPROVED")
else:
print("DENIED") | [
"assignment.variable.change",
"identifier.change",
"control_flow.branch.if.condition.change",
"literal.number.integer.change"
] | 568,819 | 568,817 | u969211566 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
c = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 and i % 5 != 0:
c += 0
if c == 0:
print("APPROVED")
else:
print("DENIED") | n = int(input())
a = list(map(int,input().split()))
flag = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 and i % 5 != 0:
flag = 1
if flag == 0:
print("APPROVED")
else:
print("DENIED") | [
"assignment.variable.change",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 568,818 | 568,820 | u969211566 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
c = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 or i % 5 != 0:
c += 0
if c == 0:
print("APPROVED")
else:
print("DENIED") | n = int(input())
a = list(map(int,input().split()))
flag = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 and i % 5 != 0:
flag = 1
if flag == 0:
print("APPROVED")
else:
print("DENIED") | [
"assignment.variable.change",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 568,819 | 568,820 | u969211566 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
c = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0:
if i % 5 != 0:
c += 0
if c == 0:
print("APPROVED")
else:
print("DENIED") | n = int(input())
a = list(map(int,input().split()))
c = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 and i % 5 != 0:
c += 1
if c == 0:
print("APPROVED")
else:
print("DENIED") | [
"literal.number.integer.change"
] | 568,816 | 568,821 | u969211566 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
c = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 and i % 5 != 0:
c += 0
if c == 0:
print("APPROVED")
else:
print("DENIED") | n = int(input())
a = list(map(int,input().split()))
c = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 and i % 5 != 0:
c += 1
if c == 0:
print("APPROVED")
else:
print("DENIED") | [
"literal.number.integer.change"
] | 568,818 | 568,821 | u969211566 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
c = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 or i % 5 != 0:
c += 0
if c == 0:
print("APPROVED")
else:
print("DENIED") | n = int(input())
a = list(map(int,input().split()))
c = 0
for i in a:
if i % 2 == 0:
if i % 3 != 0 and i % 5 != 0:
c += 1
if c == 0:
print("APPROVED")
else:
print("DENIED") | [
"control_flow.branch.if.condition.change",
"literal.number.integer.change"
] | 568,819 | 568,821 | u969211566 | python |
p02772 | N = input()
A = map(int,(input().split()))
output = 'APPROVED'
for n in A:
if (n % 2 == 0) and (n % 6 != 0) or (n % 10 != 0):
output = 'DENIED'
print(output) | N = input()
A = map(int,(input().split()))
output = 'APPROVED'
for n in A:
if (n % 2 == 0) and (n % 6 != 0) and (n % 10 != 0):
output = 'DENIED'
print(output) | [
"control_flow.branch.if.condition.change"
] | 568,830 | 568,831 | u026402121 | python |
p02772 | def main():
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')
else:
print('APPROVED')
if __name__ == '__main__':
main()
| def main():
n = int(input())
a = list(map(int, input().split()))
for i in a:
if i % 2 == 0:
if i % 3 != 0:
if i % 5 != 0:
print('DENIED')
break
else:
print('APPROVED')
if __name__ == '__main__':
main()
| [
"control_flow.branch.if.condition.change",
"control_flow.break.add"
] | 568,834 | 568,835 | u624617831 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
ans = True
for i in A:
if i%2 == 0 and (i%3 == 0 or i%5 == 0):
continue
else:
ans = False
print("APPROVED" if ans==True else "DENIED") | N = int(input())
A = list(map(int, input().split()))
ans = True
for i in A:
if i%2 == 0:
if i%3 == 0 or i%5 == 0:
continue
else:
ans = False
print("APPROVED" if ans==True else "DENIED") | [
"control_flow.loop.for.condition.change",
"control_flow.branch.if.condition.change"
] | 568,838 | 568,839 | u686036872 | python |
p02772 | n=int(input())
a=[int(i) for i in input().split()]
count=0
for i in a:
if i%2==0:
if i%3!=0 or i%5!=0:
count+=1
break
if count==0:
print("APPROVED")
else:
print("DENIED")
| n=int(input())
a=[int(i) for i in input().split()]
count=0
for i in a:
if i%2==0:
if i%3!=0 and i%5!=0:
count+=1
break
if count==0:
print("APPROVED")
else:
print("DENIED")
| [
"control_flow.branch.if.condition.change"
] | 568,840 | 568,841 | u740047492 | python |
p02772 | n=int(input())
a=[int(i) for i in input().split()]
count=0
for i in a:
if i%2==0:
if i%3!=0 or i%5!=0:
count+=1
break
if count==0:
print("APROVED")
else:
print("DENIED")
| n=int(input())
a=[int(i) for i in input().split()]
count=0
for i in a:
if i%2==0:
if i%3!=0 and i%5!=0:
count+=1
break
if count==0:
print("APPROVED")
else:
print("DENIED")
| [
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,842 | 568,841 | u740047492 | python |
p02772 | n=int(input())
A=list(map(int,input().split()))
ans="APPROVED"
for i in A:
if i%2==0:
if i%3!=0 and i%5!=0:
ans="DENIED"
print(ans)
break
print(ans)
| n=int(input())
A=list(map(int,input().split()))
ans="APPROVED"
for i in A:
if i%2==0:
if i%3!=0 and i%5!=0:
ans="DENIED"
break
print(ans)
| [
"call.remove"
] | 568,843 | 568,844 | u016901717 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
count = 0
check = 0
for i in A:
if i%2 == 0:
count += 1
if i%3 == 0 or i%5 == 0:
check += 1
if count == check:
print('APROVED')
else:
print('DENIED') | N = int(input())
A = list(map(int, input().split()))
count, check = 0, 0
for i in A:
if i%2 == 0:
count += 1
if i%3 == 0 or i%5 == 0:
check += 1
if count == check:
print('APPROVED')
else:
print('DENIED') | [
"assignment.variable.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,853 | 568,854 | u581603131 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
count = 0
check = 0
for i in A:
if i%2 == 0:
count += 1
if i%3 == 0 or i%5 == 0:
check += 1
if count == check:
print('APROVED')
else:
print('DENIED') | N = int(input())
A = list(map(int, input().split()))
count = 0
check = 0
for i in A:
if i%2 == 0:
count += 1
if i%3 == 0 or i%5 == 0:
check += 1
if count == check:
print('APPROVED')
else:
print('DENIED') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,853 | 568,855 | u581603131 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
ans = 0
for i in a:
if i%2 ==0 and (i%3 !=0 or i%5 != 0):
ans += 1
else:
pass
if ans >0:
print("DENIED")
else:
print("APPROVED") | n = int(input())
a = list(map(int,input().split()))
ans = 0
for i in a:
if i%2 ==0 and (i%3 !=0 and i%5 != 0):
ans += 1
else:
pass
if ans >0:
print("DENIED")
else:
print("APPROVED") | [
"control_flow.branch.if.condition.change"
] | 568,857 | 568,858 | u798260206 | python |
p02772 | n = int(input())
a = list(map(int,input().split()))
ans = 0
for i in a:
if i%2 ==0 and (i%3 ==0 or i%5 == 0):
ans += 1
else:
pass
if ans >0:
print("APPROVED")
else:
print("DENIED") | n = int(input())
a = list(map(int,input().split()))
ans = 0
for i in a:
if i%2 ==0 and (i%3 !=0 and i%5 != 0):
ans += 1
else:
pass
if ans >0:
print("DENIED")
else:
print("APPROVED") | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,859 | 568,858 | u798260206 | python |
p02772 | num = int(input())
lst = list(map(int,input().split()))
count = 0
counta = 0
for i in range(num):
if lst[i] % 2 == 0:
count += 1
if lst[i] % 3 == 0 or lst[i] % 5 == 0:
counta += 1
if count == counta and count > 0:
print("APPROVED")
else:
print("DENIED") | num = int(input())
lst = list(map(int,input().split()))
count = 0
counta = 0
for i in range(num):
if lst[i] % 2 == 0:
count += 1
if lst[i] % 3 == 0 or lst[i] % 5 == 0:
counta += 1
if count == counta:
print("APPROVED")
else:
print("DENIED") | [] | 568,860 | 568,861 | u383450070 | python |
p02772 | num = int(input())
lst = list(map(int,input().split()))
count = 0
counta == 0
for i in range(num):
if lst[i] % 2 == 0:
count += 1
if lst[i] % 3 == 0 or lst[i] % 5 == 0:
counta += 1
if count == counta:
print("APPROVED")
else:
print("DENIED") | num = int(input())
lst = list(map(int,input().split()))
count = 0
counta = 0
for i in range(num):
if lst[i] % 2 == 0:
count += 1
if lst[i] % 3 == 0 or lst[i] % 5 == 0:
counta += 1
if count == counta:
print("APPROVED")
else:
print("DENIED") | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 568,862 | 568,861 | u383450070 | python |
p02772 | #!/usr/bin/env python
import sys
from collections import Counter
from itertools import permutations, combinations
from math import gcd
from math import ceil, floor
import bisect
sys.setrecursionlimit(10 ** 6)
inf = float("inf")
def input():
return sys.stdin.readline()[:-1]
def main():
n = int(input())
A =... | #!/usr/bin/env python
import sys
from collections import Counter
from itertools import permutations, combinations
from math import gcd
from math import ceil, floor
import bisect
sys.setrecursionlimit(10 ** 6)
inf = float("inf")
def input():
return sys.stdin.readline()[:-1]
def main():
n = int(input())
A =... | [
"control_flow.branch.if.condition.change"
] | 568,867 | 568,868 | u580920947 | python |
p02772 | N = int(input())
A = list(map(int,input().split()))
if all(v%2==1 or v%3==0 or v%5==0):
print("APPROVED")
else:
print("DENIED")
| N = int(input())
A = list(map(int,input().split()))
if all(v%2==1 or v%3==0 or v%5==0 for v in A):
print("APPROVED")
else:
print("DENIED")
| [
"control_flow.branch.if.condition.change"
] | 568,869 | 568,870 | u375616706 | python |
p02772 | import sys
As = [int(n) for n in input().split()]
for A in As:
if A % 2 == 0:
if not(A % 3 == 0 or A % 5 == 0):
print('DENIED')
sys.exit(0)
print('APPROVED')
| import sys
N = input()
As = [int(n) for n in input().split()]
for A in As:
if A % 2 == 0:
if not(A % 3 == 0 or A % 5 == 0):
print('DENIED')
sys.exit(0)
print('APPROVED')
| [
"assignment.add"
] | 568,873 | 568,874 | u433371341 | python |
p02772 | N = int(input())
A = list(map(int,input().split()))
flag = 'APPROVED'
for a in A:
print(a)
if a % 2 == 0:
if a % 3 != 0:
if a % 5 != 0:
flag = 'DENIED'
break
print(flag) | N = int(input())
A = list(map(int,input().split()))
flag = 'APPROVED'
for a in A:
if a % 2 == 0:
if a % 3 != 0:
if a % 5 != 0:
flag = 'DENIED'
break
print(flag) | [
"call.remove"
] | 568,875 | 568,876 | u825541307 | python |
p02772 | N = int(input())
A = list(map(int,input().split()))
flag = 'APPROVED'
for a in A:
print(a)
if a % 2 == 0:
if a % 3 != 0:
if a % 5 != 0:
flag = 'DENIED'
break
print(flag) | N = int(input())
A = list(map(int,input().split()))
flag = 'APPROVED'
for a in A:
if a % 2 == 0:
if a % 3 != 0:
if a % 5 != 0:
flag = 'DENIED'
print(flag) | [
"call.remove",
"control_flow.break.remove"
] | 568,875 | 568,878 | u825541307 | python |
p02772 | n = int(input())
a = list(map(int, input().split()))
count = 0
ans = 0
for i in a:
if i%2 == 0:
count += 1
if i%3 == 0 or i%5 == 0:
ans += 1
if count == ans:
print('APPROVED')
else:
print('DEFINED') | n = int(input())
a = list(map(int, input().split()))
count = 0
ans = 0
for i in a:
if i%2 == 0:
count += 1
if i%3 == 0 or i%5 == 0:
ans += 1
if count == ans:
print('APPROVED')
else:
print('DENIED') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,883 | 568,884 | u854992222 | 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==0)):
continue
else:
print('DENIED')
break
if(i==N-1):
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)and(A[i]%5!=0)):
print('DENIED')
break
if(i==N-1):
print('APPROVED') | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 568,887 | 568,888 | u051218477 | python |
p02772 | N = int(input())
A = [int(x)for x in input().split()]
A_even = [x for x in A if x%2 == 0]
ans = ""
for i in A_even:
if i%3 == 0 or i%5 == 0:
ans = 'APPROVED'
else:
ans = 'DENIED'
break
print(ans)
| N = int(input())
A = [int(x)for x in input().split()]
A_even = [x for x in A if x%2 == 0]
ans = 'APPROVED'
for i in A_even:
if i%3 == 0 or i%5 == 0:
ans = 'APPROVED'
else:
ans = 'DENIED'
break
print(ans)
| [] | 568,891 | 568,892 | u597626771 | python |
p02772 | n=int(input())
l=[]
a=[]
b=[]
for i in range(n):
m=[int(j) for j in input().split()]
for k in m:
if k%2==0:
l.append(k)
for p in l:
if p%3==0 or p%5==0:
a.append(p)
else:
b.append(p)
if len(a)==len(l):
print("APPROVED")
e... | n=int(input())
l=[]
a=[]
b=[]
for i in range(n):
m=[int(j) for j in input().split()]
for k in m:
if k%2==0:
l.append(k)
for p in l:
if p%3==0 or p%5==0:
a.append(p)
else:
b.append(p)
if len(a)==len(l):
print("APPROVED")
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,895 | 568,896 | u067447457 | python |
p02772 | n=int(input())
l=[]
a=[]
b=[]
for i in range(n):
m=[int(j) for j in input().split()]
for k in m:
if k%2==0:
l.append(k)
for p in l:
if p%3==0 or p%5==0:
a.append(p)
else:
b.append(p)
if len(a)==len(l):
print("APPROVED")
e... | n=int(input())
l=[]
a=[]
b=[]
for i in range(n):
m=[int(j) for j in input().split()]
for k in m:
if k%2==0:
l.append(k)
for p in l:
if p%3==0 or p%5==0:
a.append(p)
else:
b.append(p)
if len(a)==len(l):
print("APPROVED")
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"control_flow.break.add"
] | 568,897 | 568,896 | u067447457 | python |
p02772 | N = int(input())
def read(): return list(map(int, input().split()))
data = read()
flag = True
for i in data:
if (i % 2 == 0):
if (i % 3 != 0 and i % 5 != 0):
flag = False
break
if (flag == True):
print('APPROVED')
else:
print('DEFINED')
| N = int(input())
def read(): return list(map(int, input().split()))
data = read()
flag = True
for i in data:
if (i % 2 == 0):
if (i % 3 != 0 and i % 5 != 0):
flag = False
break
if (flag == True):
print('APPROVED')
else:
print('DENIED')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,900 | 568,901 | u312078744 | python |
p02772 | N = int(input())
A = list(map(int,input().split()))
even = 0
bai = 0
for i in range(N):
if A[i] % 2 == 0:
even = even + 1
print(even)
if A[i] % 3 == 0 or A[i] % 5 == 0:
bai = bai + 1
i = i + 1
if even == bai:
print("APPROVED")
else:
print("DENIED")
... | N = int(input())
A = list(map(int,input().split()))
even = 0
bai = 0
for i in range(N):
if A[i] % 2 == 0:
even = even + 1
if A[i] % 3 == 0 or A[i] % 5 == 0:
bai = bai + 1
i = i + 1
if even == bai:
print("APPROVED")
else:
print("DENIED")
| [
"call.remove"
] | 568,902 | 568,903 | u699696451 | python |
p02772 | N = int(input())
A = list(map(int,input().split()))
even = 0
bai = 0
for i in range(N):
if A[i] % 2 == 0:
even = even + 1
print(even)
if A[i] % 3 == 0 or A[i] % 5 == 0:
bai = bai + 1
i = i + 1
if even == bai:
print("APPROVED")
else:
print("DENIED")
... | N = int(input())
A = list(map(int,input().split()))
even = 0
bai = 0
for i in range(N):
if A[i] % 2 == 0:
even = even + 1
if A[i] % 3 == 0 or A[i] % 5 == 0:
bai = bai + 1
i = i + 1
if even == bai:
print("APPROVED")
else:
print("DENIED")
| [
"call.remove"
] | 568,902 | 568,904 | u699696451 | python |
p02772 | n=int(input())
a=list(map(int,input().split()))
s=0
for i in a:
if a%2==0:
if a%3!=0 and a%5!=0:
s=s+1
print('DENIED' if s>0 else 'APPROVED') | n=int(input())
a=list(map(int,input().split()))
s=0
for i in a:
if i%2==0:
if i%3!=0 and i%5!=0:
s=s+1
print('DENIED' if s>0 else 'APPROVED') | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 568,917 | 568,918 | u692498898 | python |
p02772 | list_input_str = []
evenNumber = []
num = []
a = []
for i in range(2):
s = input()
if s:
list_input_str.append(s)
if list_input_str:
num = list_input_str[0]
a = list_input_str[1].split(' ')
for i in range(int(num)):
if int(a[i]) % 2 == 0:
evenNumber.append(a[i])
if len(evenNumber... | list_input_str = []
evenNumber = []
num = []
a = []
for i in range(2):
s = input()
if s:
list_input_str.append(s)
if list_input_str:
num = list_input_str[0]
a = list_input_str[1].split(' ')
for i in range(int(num)):
if int(a[i]) % 2 == 0:
evenNumber.append(a[i])
if len(evenNumber... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,936 | 568,937 | u516678561 | python |
p02772 | N=input();ans=sum([ (a%2==0 and a%3*a%5 != 0) for a in map(int,input().split()) ])
print(('APPROVED','DENIED')[ans % 2]) | N=input()
ans=sum([ (a%2==0 and a%3*a%5 != 0) for a in map(int,input().split()) ])
print(('APPROVED','DENIED')[ans > 0]) | [] | 568,939 | 568,940 | u311113280 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 1:
continue
if a / 3 == 0 or a / 5 == 0:
continue
print("DENIED")
exit()
print("APPROVED")
| N = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 1:
continue
elif a % 3 == 0 or a % 5 == 0:
continue
else:
print("DENIED")
exit()
print("APPROVED") | [
"control_flow.branch.if.replace.remove",
"control_flow.branch.else_if.replace.add",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 568,941 | 568,942 | u796842765 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 1:
continue
if a / 3 == 0 or a / 5 == 0:
continue
print("DENIED")
exit()
print("APPROVED") | N = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 1:
continue
elif a % 3 == 0 or a % 5 == 0:
continue
else:
print("DENIED")
exit()
print("APPROVED") | [
"control_flow.branch.if.replace.remove",
"control_flow.branch.else_if.replace.add",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 568,943 | 568,942 | u796842765 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 1:
continue
if a / 3 == 0 or a / 5 == 0:
continue
print("DENIED")
exit()
print("APPROVED")
| N = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 1:
continue
if a % 3 == 0:
continue
if a % 5 == 0:
continue
print("DENIED")
exit()
print("APPROVED") | [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"control_flow.continue.add"
] | 568,941 | 568,945 | u796842765 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 1:
continue
if a / 3 == 0 or a / 5 == 0:
continue
print("DENIED")
exit()
print("APPROVED") | N = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 1:
continue
if a % 3 == 0:
continue
if a % 5 == 0:
continue
print("DENIED")
exit()
print("APPROVED") | [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"control_flow.continue.add"
] | 568,943 | 568,945 | u796842765 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 1:
continue
if a / 3 == 0 or a / 5 == 0:
continue
print("DENIED")
exit()
print("APPROVED")
| N = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 1:
continue
if a % 3 == 0 or a % 5 == 0:
continue
print("DENIED")
exit()
print("APPROVED")
| [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 568,941 | 568,946 | u796842765 | python |
p02772 | N = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 1:
continue
if a / 3 == 0 or a / 5 == 0:
continue
print("DENIED")
exit()
print("APPROVED") | N = int(input())
A = list(map(int, input().split()))
for a in A:
if a % 2 == 1:
continue
if a % 3 == 0 or a % 5 == 0:
continue
print("DENIED")
exit()
print("APPROVED")
| [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 568,943 | 568,946 | u796842765 | python |
p02772 | n = int(input())
a = [int(x) for x in input().split()]
judge = True
for i in a:
if i%2 == 0:
if i%3 != 0 and i%5 != 0:
judge = False
break
print('APPROVED') if judge else print('DENTED') | n = int(input())
a = [int(x) for x in input().split()]
judge = True
for i in a:
if i%2 == 0:
if i%3 != 0 and i%5 != 0:
judge = False
break
print('APPROVED') if judge else print('DENIED') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,950 | 568,951 | u661439250 | python |
p02772 | n = input()
nums = list(map(int,input().split()))
for num in nums:
if num%2 == 0:
if num%3 != 0 and num%5 != 0:
print('DENIED')
break
print('APPROVED') | n = input()
nums = list(map(int,input().split()))
for num in nums:
if num%2 == 0:
if num%3 != 0 and num%5 != 0:
print('DENIED')
exit()
print('APPROVED') | [
"control_flow.break.remove",
"control_flow.exit.add",
"call.add"
] | 568,952 | 568,953 | u578093902 | python |
p02772 | n= int(input())
lista=[]
listanova=[]
for x in input().split():
x= int(x)
if x %2 ==0:
lista.append(x)
for x in lista:
if x %3==0 or x%5==0:
listanova.append(x)
if len(lista)==len(listanova):
print('APROVED')
else:
print('DENIED')
| n= int(input())
lista=[]
listanova=[]
for x in input().split():
x= int(x)
if x %2 ==0:
lista.append(x)
for x in lista:
if x %3==0 or x%5==0:
listanova.append(x)
if len(lista)==len(listanova):
print('APPROVED')
else:
print('DENIED')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,954 | 568,955 | u132266749 | python |
p02772 | n = int(input())
num = list(map(int, input().split()))
for i in range(n):
if num[i]%2==0:
if num[i]%3!=0 or num[i]%5!=0:
print('DENIED')
exit()
print('APPROVED')
| n = int(input())
num = list(map(int, input().split()))
for i in range(n):
if num[i]%2==0:
if num[i]%3!=0 and num[i]%5!=0:
print('DENIED')
exit()
print('APPROVED')
| [
"control_flow.branch.if.condition.change"
] | 568,964 | 568,966 | u472696272 | python |
p02772 | N = int(input())
X = [int(x) for x in input().split()]
print(X)
result = list(filter(lambda x: x % 2 == 0, X))
count = 0
for i in result:
if i % 3 == 0 or i % 5 == 0:
count += 1
print('APPROVED' if count == len(result) else 'DENIED') | N = int(input())
X = [int(x) for x in input().split()]
result = list(filter(lambda x: x % 2 == 0, X))
count = 0
for i in result:
if i % 3 == 0 or i % 5 == 0:
count += 1
print('APPROVED' if count == len(result) else 'DENIED') | [
"call.remove"
] | 568,977 | 568,978 | u999983491 | python |
p02772 | N = int(input())
A=list(map(int,input().split()))
B=[i for i in A if i%2==0]
x=0
for j in B :
if (j%3==0) or (j%5)==0:
x +=1
else:
print("DINIED")
break
if x==len(B):
print("APPROVED")
| N = int(input())
A=list(map(int,input().split()))
B=[i for i in A if i%2==0]
x=0
for j in B :
if (j%3==0) or (j%5)==0:
x +=1
else:
print("DENIED")
break
if x==len(B):
print("APPROVED")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 568,996 | 568,997 | u194472175 | python |
p02772 | N=int(input())
As=list(map(int, input().split()))
rejected=false
for A in As:
if A%2==0:
if A%3*(A%5)!=0:
rejected=true
if rejected:
print("DENIED")
else:
print("APPROVED") | N=int(input())
As=list(map(int, input().split()))
rejected=False
for A in As:
if A%2==0:
if A%3*(A%5)!=0:
rejected=True
if rejected:
print("DENIED")
else:
print("APPROVED") | [
"assignment.value.change",
"misc.typo"
] | 569,002 | 569,003 | u252964975 | python |
p02772 | n=int(input())
li=list(map(int,input().split()))
even=[]
ans="APPRIVED"
for i in li:
if i%2==0:
even.append(i)
for j in even:
if j%3!=0 and j%5!=0:
ans="DENIED"
print(ans) | n=int(input())
li=list(map(int,input().split()))
even=[]
ans="APPROVED"
for i in li:
if i%2==0:
even.append(i)
for j in even:
if j%3!=0 and j%5!=0:
ans="DENIED"
print(ans) | [
"literal.string.change",
"assignment.value.change"
] | 569,010 | 569,011 | u318859025 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.