T = int(input())
for i in range(T):
Futm = 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(' ')]
F = D.count(25)*18+(Futam-D.count(25))*25
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 | 3048 KiB | ||||
3 | Runtime error | 17ms | 3044 KiB | ||||
subtask3 | 0/20 | ||||||
4 | Runtime error | 17ms | 2960 KiB | ||||
5 | Runtime error | 18ms | 2952 KiB | ||||
6 | Runtime error | 17ms | 2996 KiB | ||||
7 | Runtime error | 18ms | 3052 KiB | ||||
subtask4 | 0/60 | ||||||
8 | Runtime error | 18ms | 3096 KiB | ||||
9 | Runtime error | 17ms | 2888 KiB | ||||
10 | Runtime error | 17ms | 3044 KiB | ||||
11 | Runtime error | 17ms | 2960 KiB |