for i in range(int(input())):
F = int(input())
D = [25 if i=='1' else [25, 18, 15, 12, 10, 8, 6, 4, 2, 1][int(i)-1] if ((i>'1' and i<='9') or i=='10') else 0 for i in input().split(' ')]
# print(D)
Dnyer = D.count(25)
F = Dnyer*18+(F-Dnyer)*25
# print(sum(D), F)
print('Champion' if sum(D) >= F else 'Practice harder')
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Runtime error | 17ms | 3044 KiB | ||||
subtask2 | 0/20 | ||||||
2 | Runtime error | 17ms | 3044 KiB | ||||
3 | Accepted | 26ms | 3044 KiB | ||||
subtask3 | 20/20 | ||||||
4 | Accepted | 43ms | 3044 KiB | ||||
5 | Accepted | 41ms | 3008 KiB | ||||
6 | Accepted | 43ms | 3216 KiB | ||||
7 | Accepted | 34ms | 3032 KiB | ||||
subtask4 | 0/60 | ||||||
8 | Runtime error | 17ms | 3052 KiB | ||||
9 | Runtime error | 17ms | 3064 KiB | ||||
10 | Runtime error | 18ms | 2960 KiB | ||||
11 | Runtime error | 17ms | 3172 KiB |