Datasets:

problem_id
stringlengths
6
6
buggy_code
stringlengths
8
526k
fixed_code
stringlengths
12
526k
labels
listlengths
0
15
buggy_submission_id
int64
1
1.54M
fixed_submission_id
int64
2
1.54M
user_id
stringlengths
10
10
language
stringclasses
9 values
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
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.setrecursionlimit(10 ** 8) 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") sys.exit() print("APPEOVED")
#!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.setrecursionlimit(10 ** 8) 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") sys.exit() print("APPROVED")
[ "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 == len(n): print("APPROVED") else: print("DENIED") cal(n)
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 == len(n): print("APPROVED") else: print("DENIED") cal(n)
[ "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(10**6) INF = 1<<50 if __name__ == '__main__': n = int(input()) chk = True; iip = list(map(int, input().split(' '))) for i in range(n): a = iip[i] if a&1 == 0: if a%3 == 0 or a%5 == 0: continue; else: chk = False; break; else: continue; if chk == True: print("APPROVED") else: print(DENIED)
##======================================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(10**6) INF = 1<<50 if __name__ == '__main__': n = int(input()) chk = True; iip = list(map(int, input().split(' '))) for i in range(n): a = iip[i] if a&1 == 0: if a%3 == 0 or a%5 == 0: continue; else: chk = False; break; else: continue; if chk == True: print("APPROVED") else: print("DENIED")
[ "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: continue print('APPROVED')
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: continue print('APPROVED')
[ "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 = list(map(int, input().split())) ans = "APPROVED" for a in A: if a % 2 == 0: if a % 3 != 0 or a % 5 != 0: ans = "DENIED" print(ans) if __name__ == '__main__': main()
#!/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 = list(map(int, input().split())) ans = "APPROVED" for a in A: if a % 2 == 0: if a % 3 != 0 and a % 5 != 0: ans = "DENIED" print(ans) if __name__ == '__main__': main()
[ "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") else: print("DENIDE") break
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") else: print("DENIED") break
[ "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") else: print("DENIDE")
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") else: print("DENIED") break
[ "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