Datasets:

problem_id
stringlengths
6
6
buggy_code
stringlengths
8
526k
fixed_code
stringlengths
12
526k
labels
listlengths
0
15
buggy_submission_id
int64
1
1.54M
fixed_submission_id
int64
2
1.54M
user_id
stringlengths
10
10
language
stringclasses
8 values
p02772
N=int(input()) A=list(map(int,input().split())) l=[] for i in range(N): if A[i]%2==0: l.append(A[i]) flag=True for i in range(N): if l[i]%3==0 or l[i]%5==0: pass else: flag=False if flag: print("APPROVED") else: print("DENIED")
N=int(input()) A=list(map(int,input().split())) l=[] for i in range(N): if A[i]%2==0: l.append(A[i]) flag=True for i in range(len(l)): if l[i]%3==0 or l[i]%5==0: pass else: flag=False if flag: print("APPROVED") else: print("DENIED")
[ "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add" ]
569,488
569,489
u434872492
python
p02772
N = int(input()) A = [int(i) for i in input().split()] ans = True for a in A: if a%2==0: if a%3!=0 or a%5!=0: ans = False if ans: print("APPROVED") else: print("DENIED")
N = int(input()) A = [int(i) for i in input().split()] ans = True for a in A: if a%2==0: if a%3!=0 and a%5!=0: ans = False if ans: print("APPROVED") else: print("DENIED")
[ "control_flow.branch.if.condition.change" ]
569,490
569,491
u957872856
python
p02772
n = int(input()) a = list(map(int, input().split())) ans = [True] * n for i in range(n): if a[i]%2==0: a[i]%3!=0 and a[i]%5!=0 ans[i] = False if all(ans): print('APPROVED') else: print('DENIED')
n = int(input()) a = list(map(int, input().split())) ans = [True] * n for i in range(n): if a[i]%2==0: if a[i]%3!=0 and a[i]%5!=0: ans[i] = False if all(ans): print('APPROVED') else: print('DENIED')
[]
569,501
569,502
u469239325
python
p02772
n = int(input()) a = list(map(int, input().split())) ans = [True] * n for i in range(n): if a[i]%2==0: a[i]%3!=0 and a[i]%5!=0 ans[i] = False if ans: print('APPROVED') else: print('DENIED')
n = int(input()) a = list(map(int, input().split())) ans = [True] * n for i in range(n): if a[i]%2==0: if a[i]%3!=0 and a[i]%5!=0: ans[i] = False if all(ans): print('APPROVED') else: print('DENIED')
[ "control_flow.branch.if.condition.change", "call.add" ]
569,503
569,502
u469239325
python
p02772
num = input() a = input().split() flag = 0 for item in a: if item%2==0: if item%3==0 or item%5==0: pass else: flag=1 if flag==0: print("APPROVED") else: print("DENIED")
num = input() a = input().split() flag = 0 for item in a: item=int(item) if item%2==0: if item%3==0 or item%5==0: pass else: flag=1 if flag==0: print("APPROVED") else: print("DENIED")
[ "assignment.add" ]
569,504
569,505
u957222656
python
p02772
N = int(input()) AL = list(map(int, input().split())) s = "APPROVED" for i in AL: if i%2 == 0 and i%3 != 0 and i%5 != 0: s = DENIED print(s)
N = int(input()) AL = list(map(int, input().split())) s = "APPROVED" for i in AL: if i%2 == 0 and i%3 != 0 and i%5 != 0: s = "DENIED" print(s)
[]
569,508
569,509
u779728630
python
p02772
n = int(input()) a = list(map(int, input().split())) flag = True for i in range(n): if a[i]%2 == 0: if a[i]%3 != 0 or a[i]%5 != 0: print('DENIED') flag = False break if flag: print('APPROVED')
n = int(input()) a = list(map(int, input().split())) flag = True for i in range(n): if a[i]%2 == 0: if a[i]%3 != 0 and a[i]%5 != 0: print('DENIED') flag = False break if flag: print('APPROVED')
[ "control_flow.branch.if.condition.change" ]
569,510
569,511
u571444155
python
p02772
n = int(input()) a = list(map(int, input().split())) count = True for i in range(n-1): if a[i]%2 == 0: if(a[i]%3 != 0 and a[i]%5 != 0): count = False break if count: print('APPROVED') else: print('DENIED')
n = int(input()) a = list(map(int, input().split())) count = True for i in range(n): if a[i]%2 == 0: if(a[i]%3 != 0 and a[i]%5 != 0): count = False break if count: print('APPROVED') else: print('DENIED')
[ "expression.operation.binary.remove" ]
569,519
569,520
u607074939
python
p02772
n = int(input()) a = list(map(int, input().split())) jud = True for i in range(n-1): if a[i]%2 == 0: if(a[i]%3 != 0 and a[i]%5 != 0): jud = False break if judge: print('APPROVED') else: print('DENIED')
n = int(input()) a = list(map(int, input().split())) count = True for i in range(n): if a[i]%2 == 0: if(a[i]%3 != 0 and a[i]%5 != 0): count = False break if count: print('APPROVED') else: print('DENIED')
[ "assignment.variable.change", "identifier.change", "expression.operation.binary.remove", "control_flow.branch.if.condition.change" ]
569,521
569,520
u607074939
python
p02772
n = int(input()) a = list(map(int, input().split())) judge = True for i in range(n-1): if a[i]%2 == 0: if(a[i]%3 != 0 and a[i]%5 != 0): judge = False break if judge: print('APPROVED') else: print('DENIED')
n = int(input()) a = list(map(int, input().split())) count = True for i in range(n): if a[i]%2 == 0: if(a[i]%3 != 0 and a[i]%5 != 0): count = False break if count: print('APPROVED') else: print('DENIED')
[ "assignment.variable.change", "identifier.change", "expression.operation.binary.remove", "control_flow.branch.if.condition.change" ]
569,522
569,520
u607074939
python
p02772
input() o = True for i in map(int, input().split()): if i % 2 == 0: if i % 3 == 1 and i % 5 == 1: o = False if o is True: print("APPROVED") else: print("DENIED")
input() o = True for i in map(int, input().split()): if i % 2 == 0: if not i % 3 == 0 and not i % 5 == 0: o = False if o is True: print("APPROVED") else: print("DENIED")
[ "control_flow.branch.if.condition.change", "literal.number.integer.change" ]
569,527
569,528
u559891647
python
p02772
def main(): N=input() A=list(map(int,input().split())) for a in A: if a%2==0 and (a%3!=0 or a%5!=0): print("DENIED") return print("APPROVED") main()
def main(): N=input() A=list(map(int,input().split())) for a in A: if a%2==0 and (a%3!=0 and a%5!=0): print("DENIED") return print("APPROVED") main()
[ "control_flow.branch.if.condition.change" ]
569,533
569,534
u825378567
python
p02772
n = int(input()) A = list(map(int,input().split())) res = "APPROVED" for a in A : if a % 2 == 0 and (a % 3 == 0 or a % 5 == 0) : res = "DENIED" print(res)
n = int(input()) A = list(map(int,input().split())) res = "APPROVED" for a in A : if a % 2 == 0 : if a % 3 == 0 or a % 5 == 0 : continue res = "DENIED" break print(res)
[ "control_flow.loop.for.condition.change", "control_flow.branch.if.condition.change", "control_flow.continue.add", "control_flow.break.add" ]
569,540
569,541
u879870653
python
p02772
n = int(input()) a = list(map(int, input().split())) lst = [] flg = False for i in range(len(a)): if a[i] % 2 == 0: lst.append(a[i]) for i in range(len(lst)): if lst[i] % 2 == 0 and lst[i] % 3 == 0 or lst[i] % 5 == 0: flg = True else: flg = False break if flg == True: print('APPROVED') else: print('DENIED')
n = int(input()) a = list(map(int, input().split())) lst = [] flg = True for i in range(len(a)): if a[i] % 2 == 0: lst.append(a[i]) for i in range(len(lst)): if lst[i] % 2 == 0 and lst[i] % 3 == 0 or lst[i] % 5 == 0: flg = True else: flg = False break if flg == True: print('APPROVED') else: print('DENIED')
[ "misc.opposites", "assignment.value.change" ]
569,554
569,555
u755944418
python
p02772
n = int(input()) a = list(map(int,input().split())) flag = 0 for i in a: if i % 2 == 0: if i % 3 == 0 or i % 5 == 0: flag = 1 else: flag = 0 break if flag == 1: print('APPROVED') else: print('DENIED')
n = int(input()) a = list(map(int,input().split())) flag = 1 for i in a: if i % 2 == 0: if i % 3 == 0 or i % 5 == 0: flag = 1 else: flag = 0 break if flag == 1: print('APPROVED') else: print('DENIED')
[ "literal.number.integer.change", "assignment.value.change" ]
569,558
569,559
u045953894
python
p02772
n = int(input()) a = list(map(int,input().split())) flag = 0 for i in a: if i % 2 == 0: if i % 3 == 0 or i % 5 == 0: flag = 1 else: flag = 0 break if flag == 1: print('APPROVED') else: print('DENIED')
n = int(input()) a = list(map(int,input().split())) flag = 1 for i in a: if i % 2 == 0: if i % 3 == 0 or i % 5 == 0: flag = 1 else: flag = 0 break if flag == 1: print('APPROVED') else: print('DENIED')
[ "literal.number.integer.change", "assignment.value.change" ]
569,560
569,559
u045953894
python
p02772
N = int(input()) li = list(map(int,input().split())) even_li = [x for x in li if x%2 == 0] ap = 0 for i in even_li: if i % 3 == 0 or i % 5 == 0: ap += 1 if even_li == []: print("DENIED") elif ap == len(even_li): print("APPROVED") else: print("DENIED")
N = int(input()) li = list(map(int,input().split())) even_li = [x for x in li if x%2 == 0] ap = 0 for i in even_li: if i % 3 == 0 or i % 5 == 0: ap += 1 if even_li == []: print("APPROVED") elif ap == len(even_li): print("APPROVED") else: print("DENIED")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,571
569,572
u734603233
python
p02772
n=int(input()) l=list(map(int,input().split())) for i in range(n): if l[i]%2==0: if l[i]%3!=0 and l[i]%5!=0: print('DENIED') break elif i==n-1: print('APPROVED')
n=int(input()) l=list(map(int,input().split())) for i in range(n): if l[i]%2==0: if l[i]%3!=0 and l[i]%5!=0: print('DENIED') break if i==n-1: print('APPROVED')
[ "control_flow.branch.if.replace.add", "control_flow.branch.else_if.replace.remove" ]
569,582
569,583
u857330600
python
p02772
def main(): _ = int(input()) a = list(map(int, input().split())) odds = [] for i in a: if i % 2 == 0: odds.append(i) for i in odds: if i % 3 != 0 and i % 5 != 0: print("DENIED") return print("APPROVED") def main1(): _ = int(input()) a = list(map(int, input().split())) odds = filter(lambda x: x % 2 == 0, a) denied = filter(lambda x: x % 3 != 0 and x % 5 != 0, odds) if denied: print("DENIED") else: print("APPROVED") if __name__ == "__main__": main1()
def main(): _ = int(input()) a = list(map(int, input().split())) odds = [] for i in a: if i % 2 == 0: odds.append(i) for i in odds: if i % 3 != 0 and i % 5 != 0: print("DENIED") return print("APPROVED") def main1(): _ = int(input()) a = list(map(int, input().split())) odds = list(filter(lambda x: x % 2 == 0, a)) denied = list(filter(lambda x: x % 3 != 0 and x % 5 != 0, odds)) if denied: print("DENIED") else: print("APPROVED") if __name__ == "__main__": main1()
[ "call.add", "call.arguments.change" ]
569,593
569,594
u585070471
python
p02772
N=int(input()) A=list(map(int,input().split(' '))) for i in A: if i%2==0 and i%2!=0 and i%5==0: print('DENIED') exit() print('APPROVED')
N=int(input()) A=list(map(int,input().split(' '))) for i in A: if i%2==0 and i%3!=0 and i%5!=0: print('DENIED') exit() print('APPROVED')
[ "literal.number.integer.change", "control_flow.branch.if.condition.change", "misc.opposites", "expression.operator.compare.change" ]
569,602
569,603
u474423089
python
p02772
N=int(input()) A=list(map(int,input().split(' '))) for i in A: if i%2==0 and i%2!=0 and i%5==0: print('DENIED') exit() print('APPROVE')
N=int(input()) A=list(map(int,input().split(' '))) for i in A: if i%2==0 and i%3!=0 and i%5!=0: print('DENIED') exit() print('APPROVED')
[ "literal.number.integer.change", "control_flow.branch.if.condition.change", "misc.opposites", "expression.operator.compare.change", "literal.string.change", "call.arguments.change", "io.output.change" ]
569,604
569,603
u474423089
python
p02772
n = int(input()) li = list(map(int,input().split())) flag = 0 for i in range(n): if(li[i] % 2 == 0): if((li[i] % 3 == 0) or(li[i] % 5 == 0)): flag=1 else: flag=0 break if(flag == 1): print('APPROVED') else: print('DENIED')
n = int(input()) li = list(map(int,input().split())) flag = 1 for i in range(n): if(li[i] % 2 == 0): if((li[i] % 3 == 0) or(li[i] % 5 == 0)): #print(li[i]) #flag=1 continue else: #print(li[i]) flag=0 if(flag == 1): print('APPROVED') else: print('DENIED') #これで通ってくれない....
[ "literal.number.integer.change", "assignment.value.change", "control_flow.break.remove" ]
569,613
569,614
u598924163
python
p02772
N = int(input()) A = map(int,input().split()) for a in A: if a % 2 == 0 and A % 3 != 0 and A % 5 != 0: print('DENIED') exit() print('APPROVED')
N = int(input()) A = map(int,input().split()) for a in A: if a % 2 == 0 and a % 3 != 0 and a % 5 != 0: print('DENIED') exit() print('APPROVED')
[ "identifier.change", "control_flow.branch.if.condition.change" ]
569,615
569,616
u908763441
python
p02772
n=int(input) A=list(map(int,input().split())) for a in A: if a%2==0: if a%3!=0 and a%5!=0: print('DENIED') exit() print('APPROVED')
n=int(input()) A=list(map(int,input().split())) for a in A: if a%2==0: if a%3!=0 and a%5!=0: print('DENIED') exit() print('APPROVED')
[ "call.add" ]
569,617
569,618
u243699903
python
p02772
i1 = int(input()) i2 = list(map(int, input().split())) l = [] for i in range(i1): if i2[i] % 2 == 0: if i2[i] % 3 == 0 or i2[i] % 5 == 0: l.append('APPROVED') else: l.append('DENEID') break if (all(str == 'APPROVED' for str in l)): print('APPROVED') else: print('DENIED')
i1 = int(input()) i2 = list(map(int, input().split())) l = [] for i in range(i1): if i2[i] % 2 == 0: if i2[i] % 3 == 0 or i2[i] % 5 == 0: l.append('APPROVED') else: l.append('DENEID') if (all(str == 'APPROVED' for str in l)): print('APPROVED') else: print('DENIED')
[ "control_flow.break.remove" ]
569,668
569,669
u806084713
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: ans = 'APPROVED' else: print('DENIED') exit() 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 or a[i]%5==0: ans = 'APPROVED' else: print('DENIED') exit() print(ans)
[ "assignment.add" ]
569,675
569,676
u468206018
python
p02772
n = int(input()) a = list(map(int, input().split())) ans = 'DENIED' for i in range(n): if a[i]%2==0: if a[i]%3==0 or a[i]%5==0: ans = 'APPROVED' else: print('DENIED') exit() 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 or a[i]%5==0: ans = 'APPROVED' else: print('DENIED') exit() print(ans)
[ "literal.string.change", "assignment.value.change" ]
569,677
569,676
u468206018
python
p02772
N=int(input()) A=list(map(int, input().split())) ans = 'DENIED' for i in A: if i%2==0: #print(i) #print(i%3, i%5) if i%3==0 or i%5==0: ans = 'APPROVED' else: ans = 'DENIED' break print(ans)
N=int(input()) A=list(map(int, input().split())) ans = 'APPROVED' for i in A: if i%2==0: #print(i) #print(i%3, i%5) if i%3==0 or i%5==0: ans = 'APPROVED' else: ans = 'DENIED' break print(ans)
[ "literal.string.change", "assignment.value.change" ]
569,678
569,679
u933717615
python
p02772
N=int(input()) A=list(map(int, input().split())) ans = '' for i in A: if i%2==0: #print(i) #print(i%3, i%5) if i%3==0 or i%5==0: ans = 'APPROVED' else: ans = 'DENIED' break print(ans)
N=int(input()) A=list(map(int, input().split())) ans = 'APPROVED' for i in A: if i%2==0: #print(i) #print(i%3, i%5) if i%3==0 or i%5==0: ans = 'APPROVED' else: ans = 'DENIED' break print(ans)
[ "literal.string.change", "assignment.value.change" ]
569,680
569,679
u933717615
python
p02772
n=int(input()) a=list(map(int,input().split())) ans="DENIED" for i in range(n): if a[i] % 2 == 0: if a[i] % 3 == 0 or a[i] % 5 == 0: ans = "APROVED" 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 or a[i]%5 == 0: continue else: ans = "DENIED" print(ans)
[ "literal.string.change", "assignment.value.change", "control_flow.continue.add" ]
569,685
569,686
u954488273
python
p02772
# -*- coding: utf-8 -*- a = int(input()) lis = list(map(int, input().split())) for i in range(a): judge = True if (lis[i] % 2 == 0): if (lis[i] % 3 != 0) and (lis[i] % 5 != 0): judge = False # 出力 if judge: print("APPROVED") else: print("DENIED")
# -*- coding: utf-8 -*- a = int(input()) lis = list(map(int, input().split())) for i in range(a): judge = True if (lis[i] % 2 == 0): if (lis[i] % 3 != 0) and (lis[i] % 5 != 0): judge = False break # 出力 if judge: print("APPROVED") else: print("DENIED")
[ "control_flow.break.add" ]
569,690
569,691
u841599623
python
p02772
def fun(li): for i in li: if i%2 == 0: if i%3 == 0 or i%5 ==0: continue; else: return "DENIED" return "APPROVED" n = int(input()) li = [int(num) for num in input.split(" ")] print(fun(li))
def fun(li): for i in li: if i%2 == 0: if i%3 == 0 or i%5 ==0: continue; else: return "DENIED" return "APPROVED" n = int(input()) li = [int(num) for num in input().split(" ")] print(fun(li))
[ "call.add" ]
569,694
569,695
u543643685
python
p02772
n = int(input()) a = list(map(int,input().split())) b = [] wk = wk1 = 0 for i in range(n): if a[i]%2 == 0: b.append(a[i]) for j in range(len(b)): if b[j]%3 == 0 or b[j]%5 == 0: wk1 = 1 else: wk1 = 0 if wk1 == 0: print('DENIED') else: print('APPROVED')
n = int(input()) a = list(map(int,input().split())) b = [] wk = wk1 = 0 for i in range(n): if a[i]%2 == 0: b.append(a[i]) for j in range(len(b)): if b[j]%3 == 0 or b[j]%5 == 0: wk = 1 else: wk1 = 1 if wk1 == 1: print('DENIED') else: print('APPROVED')
[ "assignment.variable.change", "identifier.change", "literal.number.integer.change", "assignment.value.change", "control_flow.branch.if.condition.change" ]
569,705
569,704
u094425865
python
p02772
n = int(input()) a_list = list(map(int, input().split())) a_list_even = [i for i in a_list if i % 2 == 0] for a in a_list_even: if a % 3 == 0 or a % 5 == 0: continue else: print("DENIDE") exit() print("APPROVED")
n = int(input()) a_list = list(map(int, input().split())) a_list_even = [i for i in a_list if i % 2 == 0] for a in a_list_even: if a % 3 == 0 or a % 5 == 0: continue else: print("DENIED") exit() print("APPROVED")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,708
569,709
u152554456
python
p02772
n = int(input()) a_list = list(map(int, input().split())) a_list_even = [i for i in a_list if i % 2 == 0] for a in a_list_even: if a % 3 == 0 or a % 5 == 0: pass else: print("DENIDE") exit() print("APPROVED")
n = int(input()) a_list = list(map(int, input().split())) a_list_even = [i for i in a_list if i % 2 == 0] for a in a_list_even: if a % 3 == 0 or a % 5 == 0: continue else: print("DENIED") exit() print("APPROVED")
[ "control_flow.pass.remove", "control_flow.continue.add", "literal.string.change", "call.arguments.change", "io.output.change" ]
569,710
569,709
u152554456
python
p02772
n = input() list = input().split(" ") for number in list: int_number = int(number) if (int_number % 2) == 0: if int_number %3 != 0: if int_number %5 != 0: print("DENIED") exit() print("ACCEPTED")
n = input() list = input().split(" ") for number in list: int_number = int(number) if (int_number % 2) == 0: if int_number %3 != 0: if int_number %5 != 0: print("DENIED") exit() print("APPROVED")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,711
569,712
u244656600
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 and i % 5 != 0: count += 1 else: 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 if count == 0: print('APPROVED') else: print('DENIED')
[ "control_flow.break.remove" ]
569,719
569,720
u161432819
python
p02772
n_num = int(input()) nums = map(int, input().split()) for num in nums: if num % 2 == 0: if num % 3 != 0 and num % 5 != 0: print('DINIED') break else: print('APPROVED')
n_num = int(input()) nums = map(int, input().split()) for num in nums: if num % 2 == 0: if num % 3 != 0 and num % 5 != 0: print('DENIED') break else: print('APPROVED')
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,721
569,722
u511824539
python
p02772
N=int(input()) A=list(map(int,input().split())) answer="" for a in A: if a%2==0: if a%3==0 or a%5==0: answer="APPROVED" else: answer="DENIED" break print(answer)
N=int(input()) A=list(map(int,input().split())) answer="APPROVED" for a in A: if a%2==0: if a%3==0 or a%5==0: answer="APPROVED" else: answer="DENIED" break print(answer)
[ "literal.string.change", "assignment.value.change" ]
569,737
569,738
u547608423
python
p02772
N = int(input()) nums = list(map(int, input().split(' '))) flag = False for i in range(N): if nums[i]%2 == 0 : if (nums[i]%3 != 0) | (nums[i]%5 != 0): flag = True print('DENIED') break else: continue else: continue if flag == False: print('APPROVED')
N = int(input()) nums = list(map(int, input().split(' '))) flag = False for i in range(N): if nums[i]%2 == 0 : if (nums[i]%3 != 0) & (nums[i]%5 != 0): flag = True print('DENIED') break else: continue else: continue if flag == False: print('APPROVED')
[ "control_flow.branch.if.condition.change" ]
569,745
569,746
u652522621
python
p02772
# import itertools # import math def resolve(): N = int(input()) A = list(map(int, input().split())) even = list(filter(lambda x: x % 2 == 0, A)) for ee in even: if (ee % 3) != 0 and (ee % 5) != 0: print('DENYIED') return print('APPROVED') resolve()
# import itertools # import math def resolve(): N = int(input()) A = list(map(int, input().split())) even = list(filter(lambda x: x % 2 == 0, A)) for ee in even: if (ee % 3) != 0 and (ee % 5) != 0: print('DENIED') return print('APPROVED') resolve()
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,749
569,750
u586662847
python
p02772
N = int(input()) nums = [int(e) for e in input().split()] for i in range(N): if nums[i]%2 == 1: pass else: if nums[i]%3 == 0 or nums[i]%3 == 0: pass else: print("DENIED") break if i == N-1: print("APPROVED") else: pass
N = int(input()) nums = [int(e) for e in input().split()] for i in range(N): if nums[i]%2 == 1: pass else: if nums[i]%3 == 0 or nums[i]%5 == 0: pass else: print("DENIED") break if i == N-1: print("APPROVED") else: pass
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
569,751
569,752
u921927295
python
p02772
def main(): N = int(input()) A = list(map(int, input().split())) ans = "APROVED" for ai in A: if ai%2 == 0: if ai%3 > 0 and ai%5 > 0: ans = "DENIED" break print(ans) return if __name__ == "__main__": main()
def main(): N = int(input()) A = list(map(int, input().split())) ans = "APPROVED" for ai in A: if ai%2 == 0: if ai%3 > 0 and ai%5 > 0: ans = "DENIED" break print(ans) return if __name__ == "__main__": main()
[ "literal.string.change", "assignment.value.change" ]
569,757
569,758
u021022333
python
p02772
N=int(input()) data=list(map(int,input().split())) ans="APPROVE" for i in range(N): mo2=data[i]%2 mo6=data[i]%6 mo10=data[i]%10 if mo2==0: if mo6==0 or mo10==0: ans="APPROVED" else: ans="DENIED" break else: continue print(ans)
N=int(input()) data=list(map(int,input().split())) ans="APPROVED" for i in range(N): mo2=data[i]%2 mo6=data[i]%6 mo10=data[i]%10 if mo2==0: if mo6==0 or mo10==0: ans="APPROVED" else: ans="DENIED" break else: continue print(ans)
[ "literal.string.change", "assignment.value.change" ]
569,763
569,764
u872184182
python
p02772
N=int(input()) data=list(map(int,input().split())) for i in range(N): mo2=data[i]%2 mo6=data[i]%6 mo10=data[i]%10 if mo2==0: if mo6==0 or mo10==0: ans="APPROVED" continue else: ans="DENIED" break else: continue print(ans)
N=int(input()) data=list(map(int,input().split())) ans="APPROVED" for i in range(N): mo2=data[i]%2 mo6=data[i]%6 mo10=data[i]%10 if mo2==0: if mo6==0 or mo10==0: ans="APPROVED" else: ans="DENIED" break else: continue print(ans)
[ "assignment.add" ]
569,765
569,764
u872184182
python
p02772
N = int(input()) OK = 0 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: OK = 1 else: OK = 0 break if OK == 1: print("APPROVED") else: print("DENIED")
N = int(input()) OK = 1 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: OK = 1 else: OK = 0 break if OK == 1: print("APPROVED") else: print("DENIED")
[ "literal.number.integer.change", "assignment.value.change" ]
569,766
569,767
u810348111
python
p02772
n = input() l = list(map(int, input().split())) result = 'APPROVED' for i in l: if i % 2 == 0: if i % 3 != 0 or i % 5 != 0: result = 'DENIED' break print(result)
n = input() l = list(map(int, input().split())) result = 'APPROVED' for i in l: if i % 2 == 0: if i % 3 != 0 and i % 5 != 0: result = 'DENIED' break print(result)
[ "control_flow.branch.if.condition.change" ]
569,774
569,775
u406405116
python
p02772
a = input() a = int(a) line = [int(k) for k in input().split()] b = 0 for k in range(len(line)): if line[k] % 2 == 0: if not line[k] % 5 == 0 and not line[k] % 3 == 0: print("DENIED") break elif k == a-1: print("APPROVED")
a = input() a = int(a) line = [int(k) for k in input().split()] for k in range(len(line)): if line[k] % 2 == 0: if not line[k] % 5 == 0 and not line[k] % 3 == 0: print("DENIED") break if k == a-1: print("APPROVED")
[ "control_flow.branch.if.replace.add", "control_flow.branch.else_if.replace.remove" ]
569,776
569,777
u614628638
python
p02772
a = input() num = [int(x) for x in input().split()] print(num) flag = True for x in num: if x % 2 == 0: if x % 3 != 0 and x % 5 != 0: flag = False if flag: print('APPROVED') else: print('DENIED')
a = input() num = [int(x) for x in input().split()] flag = True for x in num: if x % 2 == 0: if x % 3 != 0 and x % 5 != 0: flag = False if flag: print('APPROVED') else: print('DENIED')
[ "call.remove" ]
569,778
569,779
u579508806
python
p02772
a = input() num = [int(x) for x in input().split()] flag = True for x in num: if x % 2 == 0: if x % 3 != 0 and x % 5 != 0: flag = False if flag: print('APPROVE') else: print('DENIED')
a = input() num = [int(x) for x in input().split()] flag = True for x in num: if x % 2 == 0: if x % 3 != 0 and x % 5 != 0: flag = False if flag: print('APPROVED') else: print('DENIED')
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,780
569,779
u579508806
python
p02772
n=int(input()) a=list(map(int, input().split())) tmp = 0 for i in range(n): if a[i] % 2 == 0 and (a[i] % 3 != 0 and a[i] % 5 != 0): print('DENIED') tmp = 1 break if tmp == 0: rint('APPROVED')
n=int(input()) a=list(map(int, input().split())) tmp = 0 for i in range(n): if a[i] % 2 == 0 and (a[i] % 3 != 0 and a[i] % 5 != 0): print('DENIED') tmp = 1 break if tmp == 0: print('APPROVED')
[ "identifier.change", "call.function.change" ]
569,781
569,782
u630554891
python
p02772
import sys N=int(input()) A=list(map(int,input().split())) flag=True for i in range(N): if A[i]%2==0: if A[i]%3!=0: flag=False elif A[i]%5!=0: flag=False if flag==True: print('APPROVED') else: print('DENIED')
import sys N=int(input()) A=list(map(int,input().split())) flag=True for i in range(N): if A[i]%2==0: if A[i]%3!=0 and A[i]%5!=0: flag=False if flag==True: print('APPROVED') else: print('DENIED')
[ "assignment.remove" ]
569,787
569,788
u766393261
python
p02772
import sys N=int(input()) A=list(map(int,input().split())) flag=True for i in range(N): if A[i]%2==0: if A[i]%3!=0 or A[i]%5!=0: flag=False if flag==True: print('APPROVED') else: print('DENIED')
import sys N=int(input()) A=list(map(int,input().split())) flag=True for i in range(N): if A[i]%2==0: if A[i]%3!=0 and A[i]%5!=0: flag=False if flag==True: print('APPROVED') else: print('DENIED')
[ "control_flow.branch.if.condition.change" ]
569,789
569,788
u766393261
python
p02772
import sys N=int(input()) A=list(map(int,input().split())) flag=True for i in range(N): if A[i]%2==0: if A[i]%3!=0 or A[i]%5!=0: flag==False if flag==True: print('APPROVED') else: print('DENIED')
import sys N=int(input()) A=list(map(int,input().split())) flag=True for i in range(N): if A[i]%2==0: if A[i]%3!=0 and A[i]%5!=0: flag=False if flag==True: print('APPROVED') else: print('DENIED')
[ "control_flow.branch.if.condition.change", "expression.operation.compare.replace.remove", "assignment.replace.add", "misc.typo" ]
569,791
569,788
u766393261
python
p02772
N = int(input()) l = list(map(int, input().split())) check_list = [] for num in l: if num % 2 == 0: check_list.append(num) n = len(check_list) i = 0 while i < n: if (check_list[i] % 2 == 0) or (check_list[i] % 3 == 0): i += 1 else: break if i == n: print('APPROVED') else: print('DENIED')
N = int(input()) l = list(map(int, input().split())) check_list = [] for num in l: if num % 2 == 0: check_list.append(num) n = len(check_list) i = 0 while i < n: if (check_list[i] % 3 == 0) or (check_list[i] % 5 == 0): i += 1 else: break if i == n: print('APPROVED') else: print('DENIED')
[ "control_flow.branch.if.condition.change" ]
569,798
569,799
u529722835
python
p02772
#coding:utf-8 n = int(input()) a = list(map(int, input().split())) num = [] for i in range(0, n): if a[i] % 2 == 0: num.append(a[i]) #print(num) if len(num) == 0: print('DENIED') exit() else: for j in range(0, len(num)): if num[j] % 3 != 0 and num[j] % 5 != 0: print('DENIED') exit() print('APPROVED')
#coding:utf-8 n = int(input()) a = list(map(int, input().split())) num = [] for i in range(0, n): if a[i] % 2 == 0: num.append(a[i]) #print(num) if len(num) == 0: print('APPROVED') exit() else: for j in range(0, len(num)): if num[j] % 3 != 0 and num[j] % 5 != 0: print('DENIED') exit() print('APPROVED')
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,806
569,807
u167908302
python
p02772
#coding:utf-8 n = int(input()) a = list(map(int, input().split())) num = [] for i in range(0, n): if a[i] % 2 == 0: num.append(a[i]) if len(num) == 0: print('DENIED') exit() else: for j in range(0, len(num)): if num[j] % 3 != 0 and num[j] % 5 != 0: print('DENIED') exit() print('APPROVED')
#coding:utf-8 n = int(input()) a = list(map(int, input().split())) num = [] for i in range(0, n): if a[i] % 2 == 0: num.append(a[i]) #print(num) if len(num) == 0: print('APPROVED') exit() else: for j in range(0, len(num)): if num[j] % 3 != 0 and num[j] % 5 != 0: print('DENIED') exit() print('APPROVED')
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,808
569,807
u167908302
python
p02772
N = int(input()) A = list(map(int,input().split())) flg = 1 for i in A: if i % 2 == 0: if i % 3 != 0 and i % 5 !=0: flg = 0 break if flg == 1: print("APROVED") else: print("DENIED")
N = int(input()) A = list(map(int,input().split())) flg = 1 for i in A: if i % 2 == 0: if i % 3 != 0 and i % 5 !=0: flg = 0 break if flg == 1: print("APPROVED") else: print("DENIED")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,817
569,818
u179443195
python
p02772
from sys import stdin,stdout def f(A): for i in A: if i%2==0: if i%3!=0 and i%5!=0: return 'DENIED' return 'APROVED' def main(): for x in stdin: A = list(map(int,input().split())) print(f(A)) if __name__ == "__main__": main()
from sys import stdin,stdout def f(A): for i in A: if i%2==0: if i%3!=0 and i%5!=0: return 'DENIED' return 'APPROVED' def main(): for x in stdin: A = list(map(int,input().split())) print(f(A)) if __name__ == "__main__": main()
[ "literal.string.change", "function.return_value.change" ]
569,825
569,826
u528594564
python
p02772
N = int(input()) inList = list(map(int, input().aplit(" "))) evenList = list([]) for item in inList: if item % 2 == 0: evenList.append(item) jdgList = list([]) for evenItem in evenList: if ((evenItem % 3) == 0) or ((evenItem % 5) == 0): jdgList.append(evenItem) if len(jdgList) == len(evenList): print("APPROVED") else: print("DENIED")
N = int(input()) inList = list(map(int, input().split(" "))) evenList = list([]) for item in inList: if item % 2 == 0: evenList.append(item) jdgList = list([]) for evenItem in evenList: if ((evenItem % 3) == 0) or ((evenItem % 5) == 0): jdgList.append(evenItem) if len(jdgList) == len(evenList): print("APPROVED") else: print("DENIED")
[ "assignment.value.change", "identifier.change", "call.arguments.change" ]
569,836
569,837
u161712560
python
p02772
N = int(input()) A = list(map(int,input().split())) ans = "APPROVED" for i in range(len(A)): flag = 1 if A[i]%2 == 0: if A[i]%3 != 0: flag = flag - 1 if A[i]%5 != 0: flag = flag - 1 if flag < 0: ans = "DENIED" print(flag) print(ans)
N = int(input()) A = list(map(int,input().split())) ans = "APPROVED" for i in range(len(A)): flag = 1 if A[i]%2 == 0: if A[i]%3 != 0: flag = flag - 1 if A[i]%5 != 0: flag = flag - 1 if flag < 0: ans = "DENIED" print(ans)
[ "call.remove" ]
569,838
569,839
u690442716
python
p02772
input() A = map(int, input().split()) for a in A: if A % 2 == 0: if A % 3 != 0 and A % 5 != 0: print('DENIED') exit() print('APPROVED')
input() A = map(int, input().split()) for a in A: if a % 2 == 0: if a % 3 != 0 and a % 5 != 0: print('DENIED') exit() print('APPROVED')
[ "identifier.change", "control_flow.branch.if.condition.change" ]
569,842
569,843
u226400521
python
p02772
n = int(input()) a = list(map(int,input().split())) b = [] for i in range(n): if a[i] %2 == 0: b.append(a[i]) d = len(b) if d == 0: print('APPROVED') bool == True for c in b: if (c %3 != 0) and (c %5 != 0): bool = False break else: bool = True if bool == True: print('APPROVED' ) else: print('DENIED')
n = int(input()) a = list(map(int,input().split())) b = [] for i in range(n): if a[i] %2 == 0: b.append(a[i]) d = len(b) if d == 0: print('APPROVED') exit() bool == True for c in b: if (c %3 != 0) and (c %5 != 0): bool = False break else: bool = True if bool == True: print('APPROVED' ) else: print('DENIED')
[ "call.add" ]
569,854
569,855
u007263493
python
p02772
n = int(input()) a = list(map(int, input().split(" "))) flag = True for i in a: if (i%2==0): if not (i%3==0 or i%5==0): flag=False if flag==True: print("APPROVED") else: print("DEFINED")
n = int(input()) a = list(map(int, input().split(" "))) flag = True for i in a: if (i%2==0): if not (i%3==0 or i%5==0): flag=False if flag==True: print("APPROVED") else: print("DENIED")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,858
569,859
u750058957
python
p02772
N = int(input()) A = list(map(int, input().split())) in_flag = True for a in A: if a % 2 == 0: if a % 3 == 0 or a % 5 == 0: in_flag = True else: in_flag = False else: pass if in_flag: print("APPROVED") else: print("DENIED")
N = int(input()) A = list(map(int, input().split())) in_flag = True for a in A: if a % 2 == 0: if a % 3 == 0 or a % 5 == 0: in_flag = True else: in_flag = False break else: pass if in_flag: print("APPROVED") else: print("DENIED")
[ "control_flow.break.add" ]
569,862
569,863
u532022710
python
p02772
N=int(input()) A=[int(x) for x in input().split()] guu=[] result="APPROVED" for i in range(N): if A[i]%2==0: guu.append(A[i]) for i in range(len(guu)): if (guu[i]%3!=0)and(A[i]%5!=0): result="DENIED" break print(result)
N=int(input()) A=[int(x) for x in input().split()] guu=[] result="APPROVED" for i in range(N): if A[i]%2==0: guu.append(A[i]) for i in range(len(guu)): if (guu[i]%3!=0)and(guu[i]%5!=0): result="DENIED" break print(result)
[ "identifier.change", "control_flow.branch.if.condition.change" ]
569,868
569,869
u330728443
python
p02772
n = int(input()) a_list = list(map(int, input().split())) ans = 'APPRONED' for i in range(0, n) : if a_list[i]%2 == 0 : if (a_list[i]%3)*(a_list[i]%5) != 0 : ans = 'DENIED' break print(ans)
n = int(input()) a_list = list(map(int, input().split())) ans = 'APPROVED' for i in range(0, n) : if a_list[i]%2 == 0 : if (a_list[i]%3)*(a_list[i]%5) != 0 : ans = 'DENIED' break print(ans)
[ "literal.string.change", "assignment.value.change" ]
569,872
569,873
u089644470
python
p02772
n = int(input()) a = list(map(int,input().split())) ok = True for x in a: if x %2 == 0: if x %3!=0 and x %5 != 0: ok = False break if ok: print("APPROVED") else: print("DENINED")
n = int(input()) a = list(map(int,input().split())) ok = True for x in a: if x %2 == 0: if x %3!=0 and x %5 != 0: ok = False break if ok: print("APPROVED") else: print("DENIED")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,874
569,875
u818349438
python
p02772
def main(): n=int(input()) a=list(map(int, input().split())) count=0 for i in range(n-1): if a[i]%2==0: if a[i]%3==0 or a[i]%5==0: count = count else: count +=1 if count>0: print('DENIED') else: print('APPROVED') main()
def main(): n=int(input()) a=list(map(int, input().split())) count=0 for i in range(n): if a[i]%2==0: if a[i]%3==0 or a[i]%5==0: count = count else: count +=1 if count>0: print('DENIED') else: print('APPROVED') main()
[ "expression.operation.binary.remove" ]
569,885
569,886
u597443755
python
p02772
Nnum=int(input()) An=np.array([int(i) for i in input().split()]) Ane=An[An%2==0] Ane3=Ane%3 Ane5=Ane%5 Ane3or5=Ane3*Ane5 if(np.sum(Ane3or5)==0): print("APPROVED") else: print("DENIED")
import numpy as np Nnum=int(input()) An=np.array([int(i) for i in input().split()]) Ane=An[An%2==0] Ane3=Ane%3 Ane5=Ane%5 Ane3or5=Ane3*Ane5 if(np.sum(Ane3or5)==0): print("APPROVED") else: print("DENIED")
[]
569,894
569,895
u442855260
python
p02772
n = int(input()) al = list(map(int, input().split())) ans = "APPROVE" for a in al: if a % 2 == 0: if a % 3 != 0 and a % 5 != 0: ans = "DENIED" print(ans)
n = int(input()) al = list(map(int, input().split())) ans = "APPROVED" for a in al: if a % 2 == 0: if a % 3 != 0 and a % 5 != 0: ans = "DENIED" break print(ans)
[ "literal.string.change", "assignment.value.change", "control_flow.break.add" ]
569,896
569,897
u189487046
python
p02772
import sys # N=5 # A=[6, 7, 9, 10, 31] N=map(int,input()) A=list(map(int, input().split())) A_even=[] for i in A: if (i%2)==0: A_even.append(i) for i in A_even: if (i%3)==0 and (i%5)==0: print("DENIED") sys.exit() print("APPROVED")
import sys # N=5 # A=[6, 7, 9, 10, 31] N=map(int,input()) A=list(map(int, input().split())) A_even=[] for i in A: if (i%2)==0: A_even.append(i) for i in A_even: if (i%3)!=0 and (i%5)!=0: print("DENIED") sys.exit() print("APPROVED")
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
569,898
569,899
u417014669
python
p02772
_ = input() a=map(int,*input().split()) flag = True for i in a: if i%2 == 0: if i%3 != 0: if i%5 != 0: flag = False break if flag: print("APPROVED") else: print("DENIED")
_ = input() a=map(int,input().split()) flag = True for i in a: if i%2 == 0: if i%3 != 0: if i%5 != 0: flag = False break if flag: print("APPROVED") else: print("DENIED")
[ "call.arguments.change" ]
569,910
569,911
u821775079
python
p02772
N=int(input()) n=list(map(int, input().split())) a=[i for i in n if i%2==0] A=len(a) b=[i for i in a if i%3!=0 and i%5!=0] B=len(b) print("Yes" if B==0 else "No")
N=int(input()) n=list(map(int, input().split())) a=[i for i in n if i%2==0] A=len(a) b=[i for i in a if i%3!=0 and i%5!=0] B=len(b) print("APPROVED" if B==0 else "DENIED")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,912
569,913
u065774356
python
p02772
N = int(input()) A = list(map(int,input().split())) li = [] ans = "APPROVED" for i in range(N): if A[i] % 2 == 0: li.append(A[i]) for i in li: if i % 5 == 0 or i % 3 == 0: ans = "APPROVED" else: ans = "DENIED" break
N = int(input()) A = list(map(int,input().split())) li = [] ans = "APPROVED" for i in range(N): if A[i] % 2 == 0: li.append(A[i]) for i in li: if i % 5 == 0 or i % 3 == 0: ans = "APPROVED" else: ans = "DENIED" break print(ans)
[ "call.add" ]
569,918
569,919
u939585142
python
p02772
l = list(map(lambda x: True if int(x)%2==1or(int(x)%2==0and(int(x)%3==0 or int(x)%5==0)) else False,input().split())) print("APPROVED" if sum(l)==len(l) else "DENIED")
input();l = list(map(lambda x: True if int(x)%2==1or(int(x)%2==0and(int(x)%3==0 or int(x)%5==0)) else False,input().split())) print("APPROVED" if sum(l)==len(l) else "DENIED")
[]
569,924
569,925
u137667583
python
p02772
# -*- coding: utf-8 -*- def main(): n = int(input()) a_list = list(map(int, input().split())) ans = 'APPROVED' for i in a_list: if divide(i, 2): if not divide(i, 3) and not divide(i, 5): print(i) ans = 'DENIED' break print(ans) def divide(x, k): if x % k == 0: return True return False if __name__ == "__main__": main()
# -*- coding: utf-8 -*- def main(): n = int(input()) a_list = list(map(int, input().split())) ans = 'APPROVED' for i in a_list: if divide(i, 2): if not divide(i, 3) and not divide(i, 5): ans = 'DENIED' break print(ans) def divide(x, k): if x % k == 0: return True return False if __name__ == "__main__": main()
[ "call.remove" ]
569,926
569,927
u837885766
python
p02772
N = int(input()) a = list(map(int, input().split())) F = 0 for i in range(N): if a[i] % 2 == 0: if a[i] % 3 != 0 or a[i] % 5 != 0: F = 1 if F == 1: print('DENIED') else: print('APPROVED')
N = int(input()) a = list(map(int, input().split())) F = 0 for i in range(N): if a[i] % 2 == 0: if a[i] % 3 != 0 and a[i] % 5 != 0: F = 1 if F == 1: print('DENIED') else: print('APPROVED')
[ "control_flow.branch.if.condition.change" ]
569,934
569,935
u508934152
python
p02772
N = int(input()) A = sorted([int(x) for x in input().split()]) flag = True isOk = False for i in A: if i % 2 == 0: if i % 3 == 0 or i % 5 == 0: isOk = True else: isOk = False flag = False break else: pass if isOk and flag: print("APPROVED") else: print("DENIED")
N = int(input()) A = sorted([int(x) for x in input().split()]) flag = True isOk = False for i in A: if i % 2 == 0: if i % 3 == 0 or i % 5 == 0: isOk = True else: isOk = False flag = False break else: pass if isOk or flag: print("APPROVED") else: print("DENIED")
[ "control_flow.branch.if.condition.change" ]
569,936
569,937
u217530935
python
p02772
A=list(map(int,input().split())) B,C=[],[] for i in (A): if i%2==0:B.append(i) for i in (B): if i%3==0 or i%5==0:C.append(i) if len(B)==len(C): print('APPROVED') else:print('DENIED')
N=input() A=list(map(int,input().split())) B,C=[],[] for i in (A): if i%2==0:B.append(i) for i in (B): if i%3==0 or i%5==0:C.append(i) if len(B)==len(C): print('APPROVED') else:print('DENIED')
[ "assignment.add" ]
569,938
569,939
u549211107
python
p02772
#!/usr/bin/env python3 import numpy as np N = int(input().strip()) x = [int(str) for str in input().strip().split()] x = np.array(x) odd = x[x % 2 == 0] result = np.all((odd % 3 == 0) | (odd % 5 == 0)) print('APPROVED' if result and len(odd) else 'DENIED')
#!/usr/bin/env python3 import numpy as np N = int(input().strip()) x = [int(str) for str in input().strip().split()] x = np.array(x) odd = x[x % 2 == 0] result = np.all((odd % 3 == 0) | (odd % 5 == 0)) print('APPROVED' if result else 'DENIED')
[]
569,950
569,951
u470936782
python
p02772
N = int(input()) A = list(map(int, input().split())) result = "APPROVED" for i in range(N): if (A[i] % 2 == 1) or ((A[i] % 2 == 0) and (A[i] % 3 == 0 or A[i] % 5 == 0)): break else: result ="DENIED" break ########### 出力 print(result)
N = int(input()) A = list(map(int, input().split())) result = "APPROVED" for i in range(N): if not( (A[i] % 2 == 1) or ((A[i] % 2 == 0) and (A[i] % 3 == 0 or A[i] % 5 == 0)) ): result ="DENIED" break ########### 出力 print(result)
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change", "control_flow.break.remove" ]
569,954
569,953
u278761160
python
p02772
N = int(input()) A = list(map(int, input().split())) result = "APPROVED" for i in range(N): if (A[i] % 2 == 1) or ((A[i] % 2 == 0) and (A[i] % 3 == 0 or A[i] % 3 == 0)): break else: result ="DENIED" break ########### 出力 print(result)
N = int(input()) A = list(map(int, input().split())) result = "APPROVED" for i in range(N): if not( (A[i] % 2 == 1) or ((A[i] % 2 == 0) and (A[i] % 3 == 0 or A[i] % 5 == 0)) ): result ="DENIED" break ########### 出力 print(result)
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change", "literal.number.integer.change", "control_flow.break.remove" ]
569,955
569,953
u278761160
python
p02772
N = int(input()) L = list(map(int, input().split())) count = 0 count2 = 0 for i in range(0, N): if L[i]%2==0: count = count + 1 if L[i]%3==0 or L[i]%5==0: count2 = count2 + 1 if count == count2: prin("APPROVED") else: print("DENIED")
N = int(input()) L = list(map(int, input().split())) count = 0 count2 = 0 for i in range(0, N): if L[i]%2==0: count = count + 1 if L[i]%3==0 or L[i]%5==0: count2 = count2 + 1 if count == count2: print("APPROVED") else: print("DENIED")
[ "identifier.change", "call.function.change" ]
569,958
569,959
u654035739
python
p02772
N = int(input()) a_list = list(map(int, input().split())) even_list = [] for a in a_list: if a%2==0: even_list.append(a) ans = False for e in even_list: if e%3==0 or e%5==0: ans = True else: ans = False break if ans: print("APPROVED") else: print("DENIED")
N = int(input()) a_list = list(map(int, input().split())) even_list = [] for a in a_list: if a%2==0: even_list.append(a) ans = True for e in even_list: if e%3==0 or e%5==0: ans = True else: ans = False break if ans: print("APPROVED") else: print("DENIED")
[ "misc.opposites", "assignment.value.change" ]
569,966
569,967
u368249389
python
p02772
N = int(input()) A = list(map(int, input().split())) chk = 0 for i in range(0,N): if A[i]%2 == 0: if A[i]%3 == 0 or A[i]%5 == 0: continue else: chk += 1 if chk == 0: print("APROVED") else: print("DENIED")
N = int(input()) A = list(map(int, input().split())) chk = 0 for i in range(0,N): if A[i]%2 == 0: if A[i]%3 == 0 or A[i]%5 == 0: continue else: chk += 1 if chk == 0: print("APPROVED") else: print("DENIED")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,971
569,972
u489124637
python
p02772
N = int(input()) A = list(map(int, input().split())) chk = 0 for i in range(0,N): if A[i]%2 == 0: if A[i]%3 == 0 or A[i]%5 == 0: break else: chk += 1 if chk == 0: print("APROVED") else: print("DENIED")
N = int(input()) A = list(map(int, input().split())) chk = 0 for i in range(0,N): if A[i]%2 == 0: if A[i]%3 == 0 or A[i]%5 == 0: continue else: chk += 1 if chk == 0: print("APPROVED") else: print("DENIED")
[ "control_flow.break.remove", "control_flow.continue.add", "literal.string.change", "call.arguments.change", "io.output.change" ]
569,973
569,972
u489124637
python
p02772
n=int(input()) a=list(map(int,input().split())) f=0 for i in range(n): if(a[i]%2==0): if(a[i]%3==0 or a[i]%5==0): f=0 else: f=1 break if(f==0): print("APROVED") else: print("DENIED")
n=int(input()) a=list(map(int,input().split())) f=0 for i in range(n): if(a[i]%2==0): if(a[i]%3==0 or a[i]%5==0): f=0 else: f=1 break if(f==0): print("APPROVED") else: print("DENIED")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,974
569,975
u723612973
python
p02772
n = int(input()) a = [int(e) for e in input().split()] flag = True for i in range(0,n): if a[i] % 2 == 0 and (a[i] % 3 != 0 and a[i] % 5 != 0): flag = False if flag: print("APPROVE") else: print("DENIED")
n = int(input()) a = [int(e) for e in input().split()] flag = True for i in range(0,n): if a[i] % 2 == 0: if a[i] % 3 != 0 and a[i] % 5 != 0: flag = False if flag: print("APPROVED") else: print("DENIED")
[ "control_flow.loop.for.condition.change", "control_flow.branch.if.condition.change", "literal.string.change", "call.arguments.change", "io.output.change" ]
569,984
569,985
u187995923
python
p02772
N=int(input()) A=list(map(int,input().split())) flag=0 for i in range(N): if A[i]%2==0: if A[i]%3>0 or A[i]%5>0: flag=1 break if flag==1: print("DENIED") else: print("APPROVED")
N=int(input()) A=list(map(int,input().split())) flag=0 for i in range(N): if A[i]%2==0: if A[i]%3>0 and A[i]%5>0: flag=1 break if flag==1: print("DENIED") else: print("APPROVED")
[ "control_flow.branch.if.condition.change" ]
569,988
569,989
u594477812
python
p02772
n = input() X = set(map(int, input().split())) E = [x for x in X if x % 2 == 0] EE = [e for e in E if (e % 3 == 0 or e % 5 == 0)] if len(E) == len(EE): print("APPLOVED") else: print("DENIED")
n = input() X = set(map(int, input().split())) E = [x for x in X if x % 2 == 0] EE = [e for e in E if (e % 3 == 0 or e % 5 == 0)] if len(E) == len(EE): print("APPROVED") else: print("DENIED")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
569,990
569,991
u219180252
python
p02772
def check(n, da): for i in da: if i%2 == 0: if not(i%3 == 0 or n%5 == 0): return False return True n = int(input()) #s = input() #a, b, c = map(int,input().split()) da = list(map(int,input().split())) if check(n, da): print('APPROVED') else: print('DENIED')
def check(n, da): for i in da: if i%2 == 0: if not(i%3 == 0 or i%5 == 0): return False return True n = int(input()) #s = input() #a, b, c = map(int,input().split()) da = list(map(int,input().split())) if check(n, da): print('APPROVED') else: print('DENIED')
[ "identifier.change", "control_flow.branch.if.condition.change" ]
569,996
569,997
u057079894
python
p02772
import math import itertools import fractions import heapq import collections import bisect import sys import copy sys.setrecursionlimit(10**9) mod = 10**7+9 inf = 10**20 def LI(): return list(map(int, sys.stdin.readline().split())) def LLI(): return [list(map(int, l.split())) for l in sys.stdin.readlines()] def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()] def LF(): return [float(x) for x in sys.stdin.readline().split()] def LS(): return sys.stdin.readline().split() def I(): return int(sys.stdin.readline()) def F(): return float(sys.stdin.readline()) def S(): return input() n = I() a = LI() for i in a: if i%2==0: if i%3!=0 and i%5!=0: print("DENID") exit() print("APPROVED")
import math import itertools import fractions import heapq import collections import bisect import sys import copy sys.setrecursionlimit(10**9) mod = 10**7+9 inf = 10**20 def LI(): return list(map(int, sys.stdin.readline().split())) def LLI(): return [list(map(int, l.split())) for l in sys.stdin.readlines()] def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()] def LF(): return [float(x) for x in sys.stdin.readline().split()] def LS(): return sys.stdin.readline().split() def I(): return int(sys.stdin.readline()) def F(): return float(sys.stdin.readline()) def S(): return input() n = I() a = LI() for i in a: if i%2==0: if i%3!=0 and i%5!=0: print("DENIED") exit() print("APPROVED")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
570,004
570,005
u896451538
python
p02772
N = int(input()) aa = map(int, input().split()) f = False for a in aa: if a % 2 == 0: if (a % 3 != 0) or (a % 5 != 0): print('DENIED') f = True break if not f: print('APPROVED')
N = int(input()) aa = map(int, input().split()) f = False for a in aa: if a % 2 == 0: if (a % 3 != 0) and (a % 5 != 0): print('DENIED') f = True break if not f: print('APPROVED')
[ "control_flow.branch.if.condition.change" ]
570,024
570,025
u595952233
python
p02772
N=int(input()) A=list(map(int,input().split())) even=[] for a in A: if a%2==0: even.append(a) if len(even)==0: print("APPROVED") exit() ans=False for e in even: if e%3==0 or e%5==0: ans=True else: break print("APPROVED" if ans else "DENIED")
N=int(input()) A=list(map(int,input().split())) even=[] for a in A: if a%2==0: even.append(a) if len(even)==0: print("APPROVED") exit() ans=False for e in even: if e%3==0 or e%5==0: ans=True else: ans=False break print("APPROVED" if ans else "DENIED")
[ "assignment.add" ]
570,028
570,029
u580404776
python
p02772
N = int(input()) A = [int(s) for s in input().split()] evenA = [i for i in A if i%2 == 0] flg = True for i in evenA: if i%3 != 0 and i%5 != 0: flg == False if flg: print("APPROVED") else: print("DENIED")
N = int(input()) A = [int(s) for s in input().split()] evenA = [i for i in A if i%2 == 0] flg = True for i in evenA: if i%3 != 0 and i%5 != 0: flg = False if flg: print("APPROVED") else: print("DENIED")
[ "expression.operation.compare.replace.remove", "assignment.replace.add", "misc.typo" ]
570,034
570,035
u169866169
python
p02772
import sys input() input_line = [int(i) for i in input().split(" ") if int(i) % 2 == 0] if input_line == []: print("DENIED") sys.exit() for i in input_line: if i % 3 == 0: continue if i % 5 == 0: continue print("DENIED") sys.exit() print("APPROVED")
import sys input() input_line = [int(i) for i in input().split(" ") if int(i) % 2 == 0] if input_line == []: print("APPROVED") sys.exit() for i in input_line: if i % 3 == 0: continue if i % 5 == 0: continue print("DENIED") sys.exit() print("APPROVED")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
570,036
570,037
u827646026
python
p02772
N = int(input()) ALis = list(map(int,input().split())) Flag = True for i in range(N): if ALis[i] % 2 == 0: if ALis[i] % 3 != 0 and ALis[i] % 5 != 0: Flag = False if Flag: print("APPROVE") else: print("DENIED")
N = int(input()) ALis = list(map(int,input().split())) Flag = True for i in range(N): if ALis[i] % 2 == 0: if ALis[i] % 3 != 0 and ALis[i] % 5 != 0: Flag = False if Flag: print("APPROVED") else: print("DENIED")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
570,040
570,041
u861071267
python
p02772
n = int(input()) a = [int(i) for i in input().split()] ok = True for i in a : if( (i%2 == 0) and (i%3 != 0) and (i%5 != 0)) : ok = False print(i) if ok == True: print("APPROVED") else : print("DENIED")
n = int(input()) a = [int(i) for i in input().split()] ok = True for i in a : if( (i%2 == 0) and (i%3 != 0) and (i%5 != 0)) : ok = False if ok == True: print("APPROVED") else : print("DENIED")
[ "call.remove" ]
570,054
570,055
u595786324
python
p02772
n = int(input()) a = list(map(int, input().split())) aa = [i for i in a if i%2 == 0] flag = 0 for i in aa: if i%3 != 0 and i%5 != 0: print('DENIED') flag = 1 if flag == 0: print('APPROVED')
n = int(input()) a = list(map(int, input().split())) aa = [i for i in a if i%2 == 0] flag = 0 for i in aa: if i%3 != 0 and i%5 != 0: print('DENIED') flag = 1 break if flag == 0: print('APPROVED')
[ "control_flow.break.add" ]
570,062
570,063
u464627439
python