for i in range(int(input())):
F = 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+(len(D)-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 | 18ms | 3176 KiB | ||||
3 | Accepted | 26ms | 2932 KiB | ||||
subtask3 | 20/20 | ||||||
4 | Accepted | 43ms | 3192 KiB | ||||
5 | Accepted | 43ms | 3192 KiB | ||||
6 | Accepted | 43ms | 3044 KiB | ||||
7 | Accepted | 35ms | 3044 KiB | ||||
subtask4 | 0/60 | ||||||
8 | Runtime error | 17ms | 3044 KiB | ||||
9 | Runtime error | 17ms | 2968 KiB | ||||
10 | Runtime error | 17ms | 3044 KiB | ||||
11 | Runtime error | 18ms | 3064 KiB |