from sys import stdin, stdout
T = int(input())
pontok = [25,18,15,12,10,8,6,4,2,1,0,0,0,0,0,0,0,0,0,0]
for i in range(T):
N = int(input())
P = list(map(int,stdin.readline().strip().split()))
dp , mp = 0, 0
for h in P:
dp += pontok[h-1]
if h == 1:
mp+=18
else:
mp +=25
if dp >= mp:
print("Champion")
else:
print("Practice harder")
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 14ms | 3128 KiB | ||||
subtask2 | 20/20 | ||||||
2 | Accepted | 23ms | 3128 KiB | ||||
3 | Accepted | 21ms | 3128 KiB | ||||
subtask3 | 20/20 | ||||||
4 | Accepted | 43ms | 3128 KiB | ||||
5 | Accepted | 41ms | 3124 KiB | ||||
6 | Accepted | 43ms | 3128 KiB | ||||
7 | Accepted | 30ms | 3376 KiB | ||||
subtask4 | 60/60 | ||||||
8 | Accepted | 46ms | 3236 KiB | ||||
9 | Accepted | 43ms | 3312 KiB | ||||
10 | Accepted | 43ms | 3124 KiB | ||||
11 | Accepted | 32ms | 3128 KiB |