T = int(input())
h = [25, 18, 15, 12, 10, 8, 6, 2, 1]
for i in range(T):
F = input()
daniel, fantom = 0, 0
for i in [i for i in input().split(' ')]:
try:
egesz = int(i)
if egesz == 1:
daniel += 25
fantom += 18
elif egesz<11:
daniel += h[i-1]
fantom += 25
else:
fantom += 25
except:
fantom += 25
print('Champion' if daniel >= fantom else 'Practice harder')
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Wrong answer | 17ms | 3044 KiB | ||||
subtask2 | 0/20 | ||||||
2 | Wrong answer | 28ms | 3044 KiB | ||||
3 | Wrong answer | 28ms | 3068 KiB | ||||
subtask3 | 0/20 | ||||||
4 | Wrong answer | 74ms | 3044 KiB | ||||
5 | Wrong answer | 74ms | 3088 KiB | ||||
6 | Wrong answer | 71ms | 3108 KiB | ||||
7 | Wrong answer | 48ms | 3044 KiB | ||||
subtask4 | 0/60 | ||||||
8 | Wrong answer | 74ms | 3052 KiB | ||||
9 | Wrong answer | 71ms | 3172 KiB | ||||
10 | Wrong answer | 71ms | 3044 KiB | ||||
11 | Wrong answer | 48ms | 3188 KiB |