QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#69820 | #1380. Wybór zadań [C] | mik | 10 ✓ | 1ms | 1796kb | C++14 | 349b | 2023-01-02 03:35:57 | 2023-01-02 03:35:58 |
Judging History
answer
#include <cstdio>
int p[256][256];
int main ()
{
int n;
scanf ("%i", &n);
while (n--)
{
char a, b;
scanf (" %c%c", &a, &b);
p[a][b]++;
}
for (int a='1'; a<='5'; a++)
for (int b='A'; b<='C'; b++)
if (p[a][b] < (a=='5'? 2: 1))
{
puts ("NIE");
return 0;
}
puts ("TAK");
return 0;
}
详细
Subtask #1:
score: 1
Accepted
Test #3:
score: 1
Accepted
time: 0ms
memory: 1780kb
input:
43 4C 1B 4B 5C 1C 3C 4B 5B 1C 5C 5C 2C 4A 1B 4B 5C 5B 1A 5B 2A 1C 4A 1C 5B 4C 4C 5A 1C 4A 5B 2B 1A 3B 5A 5A 3B 4C 4B 5A 1B 2C 1C 2B
output:
NIE
result:
ok single line: 'NIE'
Test #4:
score: 0
Accepted
time: 1ms
memory: 1588kb
input:
55 4A 2A 4A 1A 2A 4A 4C 3C 4C 1A 5A 1A 1C 5B 2C 2A 4C 1A 2B 1C 5B 3C 4A 4B 2B 3A 1C 3C 2A 5B 5B 2B 2B 2B 1C 5B 1B 4B 4A 3C 5B 1B 3C 5B 3B 3C 2C 1B 2A 3B 4B 2B 2A 2A 1A
output:
NIE
result:
ok single line: 'NIE'
Test #5:
score: 0
Accepted
time: 1ms
memory: 1532kb
input:
80 5B 3B 2A 5C 3B 4C 1C 5B 5C 1A 3B 3B 3A 2A 5A 1A 5C 4A 4C 4B 4C 2A 3A 1A 1A 2C 5B 1B 5C 3A 3A 1A 3A 1C 3A 2C 1A 1B 3A 2A 4A 1A 5B 1A 1C 4A 5A 5B 3B 3B 2C 4B 1B 5C 4C 4A 3B 3B 5C 2A 3A 2A 2C 2A 1B 4A 4B 3A 5A 5A 2B 3B 1A 1B 1C 4C 2C 1A 4B 4B
output:
NIE
result:
ok single line: 'NIE'
Test #6:
score: 0
Accepted
time: 1ms
memory: 1736kb
input:
45 3A 1A 2B 5A 3A 4B 5A 3B 1C 2B 2A 4C 2B 3A 3B 4B 2A 4B 1B 5C 4B 3C 1C 1A 2B 2B 3C 3A 1B 5B 4C 1A 5A 4B 5C 5A 2A 2B 4C 5A 4C 5A 2B 2A 4B
output:
NIE
result:
ok single line: 'NIE'
Test #7:
score: 0
Accepted
time: 1ms
memory: 1596kb
input:
17 1B 3A 5C 2C 5A 1C 2A 4B 2B 3C 5B 5C 3B 4C 4A 1A 5B
output:
NIE
result:
ok single line: 'NIE'
Test #8:
score: 0
Accepted
time: 1ms
memory: 1596kb
input:
100 4A 4A 5B 4B 1A 4A 1B 1C 4C 5C 2A 2B 3C 4A 4A 4A 5C 2C 4A 4A 5A 3C 3C 4B 1B 1B 5B 1B 1A 3C 5B 2B 3C 1C 5A 1A 2A 2A 4C 5C 5B 1B 3A 3A 3C 5B 5C 5B 2B 5B 4B 1B 5B 5C 5C 5C 4C 1C 2C 4C 3C 2C 4A 1C 2B 3A 2C 4A 4A 3C 1C 4B 5A 4A 1A 2A 2A 5A 4B 2A 5A 2A 2A 5C 4A 1B 3A 2A 4C 1C 5B 3A 1C 5B 3C 4C 2A 1A 3C...
output:
NIE
result:
ok single line: 'NIE'
Test #9:
score: 0
Accepted
time: 1ms
memory: 1728kb
input:
99 1A 4A 5B 1C 3C 2A 2C 2A 3B 5A 4C 3A 1A 3B 3A 3C 5B 2C 2B 2B 1A 5B 3B 5A 1B 5A 3B 3C 3C 2C 5B 2B 3B 3B 1B 5C 1B 5B 1B 1B 1A 1C 5C 4A 1A 1A 5C 1A 5A 3C 2A 5B 4C 2A 1A 4A 2C 1B 3B 2B 5B 5C 1C 1B 4A 3B 1A 1A 2A 1B 2B 2C 2A 5A 5B 5C 1A 2C 5B 1A 2C 5B 2B 5C 5C 5B 1A 2B 1B 4A 5A 2B 3A 4C 4A 5A 1B 5A 3C
output:
NIE
result:
ok single line: 'NIE'
Test #10:
score: 0
Accepted
time: 1ms
memory: 1684kb
input:
58 3A 5C 1B 1B 2C 4C 1B 1B 1B 3C 5A 5B 5B 4B 5B 4A 1A 3A 2C 3B 4B 2B 1A 5B 2C 1C 5C 2B 4C 1B 2C 1A 4A 5C 1C 1B 3A 5A 3B 1C 2C 4B 1A 1A 1B 5B 3C 3C 4C 1C 1A 3A 2C 5B 1C 5B 1B 1B
output:
NIE
result:
ok single line: 'NIE'
Test #11:
score: 0
Accepted
time: 1ms
memory: 1468kb
input:
70 5B 3B 2B 3A 5C 5C 5C 3B 1B 4C 2A 4B 5A 3C 3C 5C 4A 1B 5A 3B 2C 5C 2A 2A 3B 2B 4A 1C 2B 5B 4C 5A 3A 3A 1A 4B 1B 5C 3A 3A 4B 5C 4A 3A 1A 2A 5B 1C 2A 1A 4B 3A 1B 2B 4C 1C 5B 2C 4B 2B 2C 5A 1C 1C 4B 5B 4C 1B 2B 4A
output:
TAK
result:
ok single line: 'TAK'
Test #12:
score: 0
Accepted
time: 1ms
memory: 1640kb
input:
25 5A 2A 1C 2B 5C 4A 4A 1C 1B 5C 4B 5B 3A 4C 5A 2C 3B 2C 5B 3C 5A 4C 1C 5A 5A
output:
NIE
result:
ok single line: 'NIE'
Subtask #2:
score: 1
Accepted
Test #13:
score: 1
Accepted
time: 1ms
memory: 1728kb
input:
94 5C 1C 4A 1A 1A 4C 2A 3A 1B 4B 5C 3B 1A 4A 5B 1C 1B 3A 4C 5C 1C 1A 5B 5B 1B 1A 2A 5C 3B 4A 3A 4C 1A 3A 5B 2C 2A 1A 3B 1C 3B 4A 1C 1C 4B 1A 2C 2A 4A 3C 4A 1C 1A 3C 5C 1B 2C 4B 1B 2C 4B 4B 1C 4C 2B 3C 3C 3B 5B 1B 5C 3A 1B 3C 2A 3B 3A 3B 3B 3B 3A 2A 4C 1B 3A 3B 2C 3B 2C 1A 2C 1A 1A 4C
output:
NIE
result:
ok single line: 'NIE'
Test #14:
score: 0
Accepted
time: 1ms
memory: 1556kb
input:
67 3C 4C 1A 4B 2C 3B 5B 4C 2B 1C 1C 1A 3A 1C 4B 1A 5C 3A 3A 1C 3A 5C 2C 3A 5C 3A 3B 2A 5A 5A 3B 1B 3C 4A 5B 3C 3C 1B 1A 1A 5B 4C 2B 5C 1B 4C 4A 3B 5C 5A 3C 4A 1C 4A 2C 1C 2B 3A 3A 5B 2B 4C 5A 5B 4B 4A 3B
output:
TAK
result:
ok single line: 'TAK'
Test #15:
score: 0
Accepted
time: 1ms
memory: 1524kb
input:
64 2C 1B 5A 3B 1B 3C 4B 4B 1A 1C 2B 2B 2C 3A 3A 2C 5A 1C 3C 4C 1B 3B 3A 5A 4B 4B 5A 4B 5A 4B 4B 1B 4A 5C 3B 2B 2A 4C 1B 5C 5B 2C 5B 5C 5A 5A 1C 1C 5A 4A 5B 1C 3B 4B 3C 5C 2C 4B 5C 2C 4A 5C 5B 5C
output:
TAK
result:
ok single line: 'TAK'
Test #16:
score: 0
Accepted
time: 1ms
memory: 1680kb
input:
81 5B 2C 1C 4C 5A 2B 5C 4B 2B 3A 4A 3A 1C 3A 3B 1B 2C 4B 3A 4B 3C 5C 4A 5B 4A 2B 1C 3B 4A 2A 4B 3B 5C 1C 2A 1C 2B 2C 1B 3C 2B 3A 3C 3B 2A 5B 1C 2B 5C 5A 4A 5B 3B 3C 1A 5C 4B 2A 5B 3C 3C 3A 2B 1C 1C 3B 5A 2A 5A 3B 2C 4A 5A 4A 1B 4A 1C 5A 5C 3B 5B
output:
TAK
result:
ok single line: 'TAK'
Test #17:
score: 0
Accepted
time: 1ms
memory: 1684kb
input:
51 5C 2B 2A 1A 3B 1B 4C 5C 5B 3B 2C 5C 2A 5A 5B 1C 1C 1A 5C 3A 5A 1B 5A 1B 4A 5B 1A 5A 4C 3B 5B 1C 4C 1B 2C 4B 1C 4C 4B 4C 5A 2A 1B 2A 2C 5C 5A 5A 1B 1C 3C
output:
TAK
result:
ok single line: 'TAK'
Test #18:
score: 0
Accepted
time: 1ms
memory: 1676kb
input:
86 5B 3B 1C 4A 2A 2B 2B 1C 1C 1B 1B 1C 3A 1C 2C 2C 1A 1C 5B 2A 5B 4A 2A 5C 5A 2A 2C 1C 2B 2A 4A 4A 2C 1A 3B 3C 1A 2B 3B 4A 1C 2B 2C 1B 2B 2B 2A 3C 4A 2B 3C 3A 3C 1C 4A 1C 1B 2A 5A 3B 1C 1A 1A 1C 5B 3C 3A 3A 3C 2C 5B 5A 2A 2A 3A 4C 3C 2B 1B 3B 5A 2C 5B 1B 5C 4B
output:
TAK
result:
ok single line: 'TAK'
Test #19:
score: 0
Accepted
time: 1ms
memory: 1596kb
input:
88 1C 1A 5C 3B 4A 2B 5A 3B 3B 2C 3C 5B 1A 4B 3A 3B 2A 1B 2A 3C 1A 5B 3A 2C 2B 4B 5A 3B 3B 2A 3A 3A 2A 1C 2B 3C 1A 5A 2C 4A 2A 4B 1A 5B 5A 2B 1A 4B 4C 5B 2B 1C 1A 5B 5A 5B 2C 2A 4C 1A 1A 5B 1C 5C 5B 1C 1C 5C 5B 5A 2B 5B 5A 3A 3B 3A 3A 3C 3C 3C 2C 3C 5A 4C 2A 4C 2C 5C
output:
TAK
result:
ok single line: 'TAK'
Test #20:
score: 0
Accepted
time: 1ms
memory: 1792kb
input:
36 4A 5A 3A 2B 1C 5C 1C 5C 3A 4A 5A 3C 1A 5C 2A 2B 5A 2C 3A 5C 3B 5B 2C 5B 2A 3A 2B 5A 3B 4B 2A 3A 2C 4B 4C 4C
output:
NIE
result:
ok single line: 'NIE'
Test #21:
score: 0
Accepted
time: 1ms
memory: 1636kb
input:
80 5B 5B 5B 3C 5C 1B 1B 5A 1B 5B 2B 5B 1C 1A 3C 5A 1A 3B 3B 3C 2C 3A 5A 5C 2C 4A 1B 4C 1B 5C 5B 4A 2B 1C 5A 5A 3B 5A 3C 4B 2A 3A 1A 2C 2A 4B 1C 4A 3B 3C 5C 1B 4C 2B 4B 2A 1A 2A 2B 2C 3B 1B 4C 2C 3B 4A 3B 3A 4B 4A 1C 1A 5C 2B 3B 5C 1B 5B 2B 1C
output:
TAK
result:
ok single line: 'TAK'
Test #22:
score: 0
Accepted
time: 1ms
memory: 1684kb
input:
62 5A 3B 3C 3C 4B 3A 2B 3C 1B 5A 2C 2C 1C 2B 5B 5A 1C 5A 1C 5A 5B 2A 4B 5C 1B 3C 1C 2B 5B 2C 4B 1B 2C 1C 4A 5B 2C 1A 4B 2A 5A 2C 3A 2A 4A 2A 3C 5B 4A 4B 1C 3C 1C 2A 1C 4B 1A 3C 2A 2C 2B 1B
output:
NIE
result:
ok single line: 'NIE'
Subtask #3:
score: 1
Accepted
Test #23:
score: 1
Accepted
time: 1ms
memory: 1660kb
input:
80 4A 2C 4A 2B 2C 5A 4C 2A 2B 1B 2A 1A 1B 5B 2B 5B 1A 5A 4C 3A 2A 5C 3C 2B 5B 1A 2B 4C 5B 3C 3A 4C 1B 4C 2B 2C 1C 3B 2B 5B 2A 1B 2B 1A 5A 3B 4A 2B 5A 5B 5A 3C 1C 3A 2C 3B 3C 1C 3C 1A 1A 3B 1A 5B 4A 1C 5A 2C 5B 2C 3B 1B 1C 1A 2C 2B 3C 2B 3B 2A
output:
NIE
result:
ok single line: 'NIE'
Test #24:
score: 0
Accepted
time: 1ms
memory: 1644kb
input:
86 5C 5C 3C 1B 3C 5C 3C 5C 2C 5C 4C 3B 4C 1A 3B 1C 4C 1C 3C 2B 4B 1B 5A 1B 5C 3C 1A 3A 4C 1A 4B 3B 5B 3B 5C 1A 2C 2A 5C 4B 1C 2A 5C 4B 1C 4B 3A 1A 2C 2B 2C 4B 3B 1B 2A 2C 3A 3A 2A 3C 4C 3C 4B 5B 4B 3A 3B 3A 3C 3B 3B 3B 5C 2A 2B 4B 4C 4C 2B 3A 5A 5A 5C 5B 3C 5B
output:
NIE
result:
ok single line: 'NIE'
Test #25:
score: 0
Accepted
time: 1ms
memory: 1676kb
input:
58 4C 3B 5C 2A 3B 1A 5B 2A 2A 3B 5B 3C 3B 5A 2A 5C 1B 5C 4A 5B 1A 1C 3B 2A 5C 4B 4B 5C 5A 2A 4B 2C 4B 2C 4B 1A 4A 3B 1C 5A 2A 1C 3C 5B 4A 5A 5B 4C 3C 4C 1C 2C 2A 2B 5B 1A 1B 2A
output:
NIE
result:
ok single line: 'NIE'
Test #26:
score: 0
Accepted
time: 0ms
memory: 1732kb
input:
80 5C 1A 4A 4C 5A 2C 4A 5A 4C 4B 3A 2A 5B 1B 3B 1C 2B 3A 1B 4C 1C 4A 5A 2B 1B 5C 2A 3C 5B 3C 4A 3A 4C 1C 4A 4A 3B 1C 3B 1C 2B 4C 5A 4A 2B 5A 1B 1C 5B 3C 1A 1B 5C 3B 1A 4C 3C 3B 1A 5A 2B 3B 3A 2B 3C 2A 4A 3A 1B 1B 3A 4A 4C 1B 5C 1B 5A 1B 2B 3B
output:
TAK
result:
ok single line: 'TAK'
Test #27:
score: 0
Accepted
time: 1ms
memory: 1596kb
input:
41 5A 2A 4B 2A 1A 3C 1B 3C 4A 1A 1C 5C 5C 5B 1B 5A 5B 2C 2B 2B 2A 4C 1A 5C 3B 3C 1C 1C 3C 4C 4B 4B 5C 2C 1C 4A 3B 5B 3C 5C 3A
output:
TAK
result:
ok single line: 'TAK'
Test #28:
score: 0
Accepted
time: 0ms
memory: 1660kb
input:
84 4C 4C 4A 5A 4B 2B 3C 4B 2A 4C 5B 2B 2C 2A 5C 4A 3C 3B 5B 5B 4B 5A 2A 2B 3C 2B 5A 1C 2B 1B 1B 5B 5B 3A 4C 3C 5A 4A 4B 4C 1C 3B 1C 1A 1B 1C 3C 1B 1B 5B 5B 4B 3C 2B 3B 4C 1A 4B 1A 1A 3C 5A 3B 2C 2A 3C 5A 2A 4C 1B 3A 5A 2C 1A 1A 5C 2C 4B 5B 1B 1C 1C 1C 5B
output:
TAK
result:
ok single line: 'TAK'
Test #29:
score: 0
Accepted
time: 1ms
memory: 1660kb
input:
92 1B 5B 4B 5B 1A 4A 3A 2A 2B 4B 4A 2A 5C 3C 4A 1B 5B 1C 3A 5C 2B 5A 1A 1B 1A 4A 5C 2A 1A 1A 5A 2A 2B 1A 5B 5B 2A 1A 2A 1A 3A 2C 3B 1A 3B 4B 2B 4C 1B 1B 4A 3C 2B 1A 4A 3B 5B 1A 3B 4B 1A 3C 2A 5C 3C 3B 1B 3C 3B 2A 2B 1C 4C 4C 5A 3A 2B 1C 4C 4A 1A 1A 5B 1A 1A 1A 3B 5A 5B 3C 2A 1C
output:
TAK
result:
ok single line: 'TAK'
Test #30:
score: 0
Accepted
time: 1ms
memory: 1676kb
input:
64 1C 5C 1A 3C 1B 2C 5A 3C 1C 1A 1B 5C 3A 1A 4B 2B 4A 3C 5B 4A 4A 2B 2C 4C 3A 3A 3B 2C 3B 5C 1A 2A 3C 5C 3B 3B 2A 1B 1A 4C 5B 5A 2C 2B 3C 4B 4B 1C 2C 4C 3A 2B 2C 2A 2A 2A 3B 4B 5A 5C 5C 1C 2B 1C
output:
TAK
result:
ok single line: 'TAK'
Test #31:
score: 0
Accepted
time: 1ms
memory: 1684kb
input:
36 3B 1C 2C 2B 2C 5C 4C 2C 4A 5B 2B 2B 2C 5B 2B 2A 1B 2C 4A 4B 5C 2B 5A 5A 2A 1A 4B 4C 3A 4C 5B 4B 3C 2C 3C 5B
output:
TAK
result:
ok single line: 'TAK'
Test #32:
score: 0
Accepted
time: 1ms
memory: 1472kb
input:
57 5C 4B 4B 5A 5C 3A 4B 2B 4C 1C 1B 3B 3B 1B 5B 5A 5B 4C 2B 5C 5C 3A 2A 3C 3C 2B 4B 1C 1C 2B 1A 4B 5B 1B 4A 3C 5A 3C 1A 5A 1B 4B 3C 3A 2A 4A 3A 3B 1B 1B 3B 4C 3C 1B 3A 5C 5B
output:
NIE
result:
ok single line: 'NIE'
Subtask #4:
score: 1
Accepted
Test #33:
score: 1
Accepted
time: 1ms
memory: 1676kb
input:
100 5C 3C 2C 4B 4B 1C 2B 5C 4B 5A 4A 2C 4A 2B 3C 5B 4C 4A 1C 1B 5A 2C 2A 5B 3A 4C 5C 4A 3C 2B 2C 5A 2B 3B 5C 2B 3B 1A 4B 1C 1C 2C 3B 3B 4C 4A 5A 3A 3B 2B 1C 1A 4A 4B 3A 1A 3A 4A 1A 5C 1A 1C 2A 3A 1C 1A 2A 3A 3B 5B 1C 1A 4B 5A 1B 1A 2C 3A 4C 5A 2C 4A 4C 1C 4C 4A 3B 3B 1B 4B 2B 3B 5C 3C 4C 5B 1C 1C 4B...
output:
TAK
result:
ok single line: 'TAK'
Test #34:
score: 0
Accepted
time: 1ms
memory: 1728kb
input:
21 1A 2C 1B 3C 4A 5B 4B 4A 5A 5B 3B 1C 5A 2C 2C 3A 5B 5A 5B 4A 5C
output:
NIE
result:
ok single line: 'NIE'
Test #35:
score: 0
Accepted
time: 1ms
memory: 1796kb
input:
48 5A 1B 5C 5C 3C 4B 4A 3A 2A 4A 1A 4B 5C 5B 5A 5A 1C 3C 2B 3A 2B 3B 5B 4B 3A 1A 3A 5C 3A 1A 2B 5B 3B 3B 4C 1C 3B 2B 1C 4C 2A 4C 1A 5B 5C 1C 3B 4B
output:
NIE
result:
ok single line: 'NIE'
Test #36:
score: 0
Accepted
time: 1ms
memory: 1532kb
input:
61 3A 5B 4C 4A 1A 4C 3B 3B 3C 1B 1C 1A 3B 1C 2A 5C 3B 3A 1B 5A 4B 1C 3C 3B 3C 1B 1B 5C 1C 1C 3A 1C 3B 5C 4C 3C 4B 3C 1A 2B 1B 3B 4C 2A 1C 1B 1C 1A 5B 5C 5B 3C 1A 1B 4A 1C 3C 5A 4C 1A 4B
output:
NIE
result:
ok single line: 'NIE'
Test #37:
score: 0
Accepted
time: 1ms
memory: 1728kb
input:
86 5A 2B 1C 1B 3A 4C 2C 3B 2B 3C 1B 5B 5A 2B 1C 5B 2A 4C 4C 2A 2C 1C 1C 3A 4A 3B 1B 1B 4B 3A 3C 4A 2B 3B 2B 4B 3A 3C 2C 4C 1C 3C 2A 2A 4B 1B 1B 3C 1A 2C 4C 3A 2A 4B 3A 2B 1A 1C 2C 5B 4C 3B 3C 1C 3B 4A 4A 4C 3B 2B 5B 3B 1A 5B 2A 1B 4A 2C 1A 5A 3A 1A 1A 2A 4C 3C
output:
NIE
result:
ok single line: 'NIE'
Test #38:
score: 0
Accepted
time: 1ms
memory: 1732kb
input:
63 1A 3B 5C 5C 2B 5A 5C 4B 4C 2C 3B 4C 1C 4C 4C 5C 3C 5A 1A 5C 1C 5C 4A 2A 5C 1A 1B 2B 1B 3C 5B 5A 4C 5C 1A 5B 2C 1B 4B 1B 2A 5C 2C 1C 3C 4B 2B 5A 5B 3C 4B 1C 4C 5B 2A 1C 2A 5A 3C 2C 1A 5A 5B
output:
NIE
result:
ok single line: 'NIE'
Test #39:
score: 0
Accepted
time: 1ms
memory: 1796kb
input:
25 3C 2A 3B 1C 3A 2A 4A 5B 3C 5A 5B 1C 4C 3B 5A 1B 1C 3A 5B 4B 1C 2C 1A 5B 5C
output:
NIE
result:
ok single line: 'NIE'
Test #40:
score: 0
Accepted
time: 1ms
memory: 1732kb
input:
35 4C 1C 3C 5A 1C 3B 4A 3A 2C 4B 3B 1A 4B 5C 3C 4C 5C 1B 3A 5A 2B 4A 2B 4C 5C 1A 5C 5B 2B 1C 1B 1B 2A 2B 1A
output:
NIE
result:
ok single line: 'NIE'
Test #41:
score: 0
Accepted
time: 1ms
memory: 1464kb
input:
46 4B 4C 3B 1C 1C 1C 1B 4B 5B 1B 2B 4A 1C 1B 1A 2B 4A 5C 5B 4A 4C 4B 5A 1A 1B 1C 1C 2C 3A 4A 4B 3B 4C 5C 5B 3A 3A 4B 4B 1A 3B 4C 1B 5C 3C 2B
output:
NIE
result:
ok single line: 'NIE'
Test #42:
score: 0
Accepted
time: 1ms
memory: 1684kb
input:
1 5C
output:
NIE
result:
ok single line: 'NIE'
Subtask #5:
score: 1
Accepted
Test #43:
score: 1
Accepted
time: 1ms
memory: 1588kb
input:
95 4A 3A 4C 2A 5B 2B 4B 1C 4C 3A 3C 3A 5B 4B 3B 4C 1C 5A 1C 1C 3C 1A 3A 3C 4A 4B 4C 4A 4A 4A 3B 1B 2B 1B 4A 5A 2A 2B 3B 2C 3C 5B 3A 2B 1B 3B 1B 2B 5C 2C 4C 2A 1B 3B 2B 4C 4C 2C 1B 5B 1B 3B 2C 3C 4B 4B 3A 3C 1C 4C 3C 5B 3A 2C 4B 3B 4B 4C 5A 5B 2C 5A 5A 1B 3B 3A 1C 5B 5A 4A 5A 5A 4C 4C 3A
output:
NIE
result:
ok single line: 'NIE'
Test #44:
score: 0
Accepted
time: 1ms
memory: 1676kb
input:
7 2C 1C 1A 1B 2A 3A 1B
output:
NIE
result:
ok single line: 'NIE'
Test #45:
score: 0
Accepted
time: 1ms
memory: 1588kb
input:
99 2C 5B 3A 4C 3C 2A 4B 4B 4A 4B 1B 5B 5B 1A 3A 1C 4A 3C 3A 1A 2C 3A 3A 4C 1A 5B 5B 4C 4C 2A 5A 4C 5B 5C 2A 5B 3A 4B 5A 1A 2A 3C 3C 4A 1A 5B 4A 4A 3C 3C 1B 5B 5B 1A 3A 1A 5C 5A 2B 4C 3A 5A 2C 4C 2C 5A 5C 2C 5A 4A 5A 4B 2C 5C 5B 2C 1B 5C 4C 2C 1B 2A 4C 5A 3A 3A 3C 2C 1C 2B 4A 1B 5C 3A 5B 3A 1B 2C 2C
output:
NIE
result:
ok single line: 'NIE'
Test #46:
score: 0
Accepted
time: 1ms
memory: 1664kb
input:
100 2B 2B 5A 5B 5B 3A 3A 4A 5C 3B 5C 1B 2B 5A 1B 5A 4C 2A 1C 4B 3C 1C 4C 4C 4B 5A 3A 5B 2A 1B 3C 1C 1B 1A 1A 2A 3A 4A 5C 5B 5B 3B 5A 5B 3A 2A 2B 1C 1C 5A 5C 2A 1C 1C 4C 2B 1B 4A 1C 4C 1C 5C 4A 4B 3C 3C 5C 5A 3C 5C 3C 3B 2B 3B 1B 4B 3A 5C 4A 4B 4A 1A 3A 4A 3C 5B 3C 3A 2B 5B 3B 5B 3A 5A 1C 5A 3C 2A 4C...
output:
NIE
result:
ok single line: 'NIE'
Test #47:
score: 0
Accepted
time: 1ms
memory: 1728kb
input:
86 2B 2C 1A 3A 5C 1A 1A 1B 3A 2C 5A 2A 4B 4A 4A 2A 4A 5A 5B 4B 2C 2C 5B 3A 4B 4B 4A 2A 3B 5A 1B 3A 3A 5A 4C 4B 5A 4B 4C 1B 5B 1A 3C 5B 4C 5B 4A 5A 3B 2A 3B 1B 1A 2A 5C 2B 1C 3A 5B 5B 4A 1A 5A 3B 1C 4A 4B 1B 4A 5B 1B 2B 2B 4B 4A 1A 2A 2B 2C 4B 2A 5B 2C 2B 4C 4C
output:
TAK
result:
ok single line: 'TAK'
Test #48:
score: 0
Accepted
time: 1ms
memory: 1732kb
input:
57 3C 3C 5C 1B 4A 4C 2A 5B 1A 3C 2B 5C 4C 3A 2B 5B 4A 3A 5A 2A 4B 2B 5C 2B 2A 3A 3B 4B 5A 1B 2C 1C 4A 5A 5A 4A 3C 5C 2C 3A 1C 3B 5B 1C 5A 3B 5B 5C 2B 3C 5B 2A 2C 1C 3C 1C 3B
output:
TAK
result:
ok single line: 'TAK'
Test #49:
score: 0
Accepted
time: 1ms
memory: 1736kb
input:
48 2B 3A 4A 4A 3B 2C 4B 5B 1A 5B 2A 1A 1B 4B 5A 5A 5B 5B 3B 4B 3A 5B 2B 4B 3A 5C 4C 1C 5B 3B 1B 3C 5B 5C 3B 2B 5B 5A 3C 3B 4A 2B 5C 1B 1B 1B 5A 3C
output:
TAK
result:
ok single line: 'TAK'
Test #50:
score: 0
Accepted
time: 1ms
memory: 1680kb
input:
86 2C 1C 5B 3B 1C 2C 4C 5C 3B 3A 5A 5B 2C 2C 3C 5C 3C 1C 2C 5C 4C 1A 2B 1C 2A 3C 4C 5A 2B 5A 5C 4C 5C 5A 1A 4C 4B 2C 5A 5A 1A 3B 3C 5A 3C 3C 2C 2A 5A 2C 5C 2C 3B 1A 4A 2C 1B 2C 2C 2B 2A 3C 5B 1A 3C 4A 4C 2A 1C 3C 3A 5B 3A 2A 1A 5C 2B 2B 3A 5B 3C 2B 3A 2A 3B 4C
output:
TAK
result:
ok single line: 'TAK'
Test #51:
score: 0
Accepted
time: 1ms
memory: 1732kb
input:
66 1B 1A 2C 3A 2C 4A 4B 3C 5B 2B 5B 5A 5C 5C 5C 5B 2B 2C 2A 1C 4B 5C 3A 2A 5A 1A 2C 1C 4A 5A 4B 4B 4B 2B 3B 4A 3C 4B 1C 1A 1C 2B 2C 5B 3B 1C 1B 3B 1B 4A 4B 4A 2B 2C 1B 5B 1C 5A 3B 1C 2B 5A 3C 2A 5B 3C
output:
NIE
result:
ok single line: 'NIE'
Test #52:
score: 0
Accepted
time: 1ms
memory: 1732kb
input:
87 4B 2A 1A 5C 3A 1A 3A 1B 2C 2A 1C 5B 4C 2B 3A 5C 4B 3B 4C 5B 5A 3A 4C 4B 5C 2C 1C 5B 2C 4B 3A 2C 1B 4B 3B 1B 4C 2B 3C 2B 1A 5A 3C 3B 2B 1A 5C 5C 2A 2C 5C 5A 1A 3C 4C 4B 4C 5A 2A 2A 2A 4C 1B 3A 2B 3A 4B 4B 2A 5B 2A 3A 5A 3A 3B 1B 4B 3B 3A 2C 2B 1B 3C 2C 5A 3A 3A
output:
NIE
result:
ok single line: 'NIE'
Subtask #6:
score: 1
Accepted
Test #53:
score: 1
Accepted
time: 1ms
memory: 1576kb
input:
100 2C 1A 1A 2A 4A 4B 5C 5B 5C 1B 5C 1C 3B 1B 2A 3B 1C 1A 5B 3A 3B 5B 2C 1B 2A 4B 5A 3A 3A 3A 5A 3B 5C 5C 5A 2C 2C 4A 4B 1A 3C 2B 4C 3C 1A 3A 3C 5C 3C 2C 4A 2B 2A 2A 3B 3C 4B 1C 3B 2B 2C 1A 2C 1B 5B 4B 5A 4A 4B 4C 2B 1C 5C 4C 1C 5A 5B 1C 3C 4B 3B 1B 4C 5B 3A 3A 5B 4C 3C 2B 5A 4C 1B 4A 2B 5A 4A 2A 4A...
output:
TAK
result:
ok single line: 'TAK'
Test #54:
score: 0
Accepted
time: 1ms
memory: 1688kb
input:
18 3C 5B 2B 5A 4A 3B 2A 2C 4B 1B 1C 1A 5C 5A 5C 5B 4C 3A
output:
TAK
result:
ok single line: 'TAK'
Test #55:
score: 0
Accepted
time: 1ms
memory: 1468kb
input:
19 4C 2C 2C 4B 5C 5B 5A 2B 3C 5A 3A 2B 3B 1A 5C 2A 5A 1C 4A
output:
NIE
result:
ok single line: 'NIE'
Test #56:
score: 0
Accepted
time: 1ms
memory: 1572kb
input:
95 2C 4B 4B 4A 5A 4B 3A 1C 5B 3B 5B 3A 5B 5C 1A 2C 3A 3B 2B 5B 3C 1A 1A 2B 5C 5B 4B 2C 2B 4B 2C 3B 5B 4A 3B 5A 5C 2B 1C 2A 3A 3A 4A 1A 3B 2B 2C 1A 1A 4A 3B 2C 3A 2C 5B 4A 3C 4A 5B 1C 5C 2A 4B 1C 3B 2B 4B 3B 2C 2A 3C 3B 2C 2B 2A 5A 1A 2B 1C 1A 1C 3A 5C 2C 1C 5B 4B 2A 1A 2B 4B 3B 4B 3C 5A
output:
NIE
result:
ok single line: 'NIE'
Test #57:
score: 0
Accepted
time: 0ms
memory: 1688kb
input:
96 4B 2B 1C 2C 5C 3A 5C 4C 4A 3B 3B 3B 1A 1A 1C 2C 3B 5C 3C 5C 3B 4B 3B 2B 3A 1B 2B 4C 3A 5C 2A 4C 2A 3C 2B 4A 3A 2C 2A 3C 4A 3A 5C 4C 2C 5A 4B 4B 2B 1A 4A 3C 1A 1A 5A 3C 4C 5A 3B 1B 2C 5C 4A 4A 4C 3A 5B 3A 4A 2C 4C 1C 4A 1C 5C 2C 2C 4C 3A 1A 1A 1A 4A 4A 1A 2A 3A 2A 1C 4A 1C 4C 2C 4B 2C 5C
output:
NIE
result:
ok single line: 'NIE'
Test #58:
score: 0
Accepted
time: 1ms
memory: 1592kb
input:
52 2A 2A 4A 1B 5C 5A 3B 2C 1A 2A 3A 1C 2B 2A 2A 3C 1B 5C 2C 1C 4A 5B 3C 4C 3B 5B 3C 4A 5C 3A 1C 2B 3C 3B 5A 5B 1A 4B 3B 4C 5B 4B 3B 1A 1C 4B 3C 2C 1C 5C 3B 1B
output:
TAK
result:
ok single line: 'TAK'
Test #59:
score: 0
Accepted
time: 1ms
memory: 1528kb
input:
35 4B 3A 1C 4C 1C 3A 3A 4A 2C 4C 4B 1C 3A 5A 3A 4A 2B 4A 4A 2A 3A 1A 4C 4B 2B 1B 1B 3A 4C 4C 3A 3A 5C 2A 2A
output:
NIE
result:
ok single line: 'NIE'
Test #60:
score: 0
Accepted
time: 0ms
memory: 1468kb
input:
63 5C 3B 5B 4C 1A 1A 5A 2B 4B 5C 2B 2C 5C 5C 3A 1B 3B 2B 2C 1A 4A 1A 3A 2C 2A 4A 3A 2A 5A 3C 4A 3C 1C 3A 2B 4B 5A 5C 4C 1A 2B 3A 3C 1C 1C 3C 3B 4C 4C 5C 3B 4C 1B 3C 3A 1C 2A 4A 2B 1A 5A 1B 5A
output:
NIE
result:
ok single line: 'NIE'
Test #61:
score: 0
Accepted
time: 1ms
memory: 1732kb
input:
32 2B 1B 3A 4A 1C 5B 2C 2B 1B 3B 4A 5B 2A 1B 5C 3C 1A 4B 5A 3B 2B 2A 5B 5C 2B 2A 4C 3C 2C 4B 2C 5A
output:
TAK
result:
ok single line: 'TAK'
Test #62:
score: 0
Accepted
time: 1ms
memory: 1588kb
input:
68 1A 4C 5A 3B 4A 1B 3B 1A 4A 3A 5B 4C 3A 4B 2A 5A 4C 4A 1A 4A 3C 2A 1B 3A 1A 5B 4B 4A 1B 2B 2B 5A 4C 2B 5B 1A 5C 2A 5C 2C 3C 2A 2C 5C 4C 1B 5C 4C 4C 1A 4A 3A 1B 3A 1B 4A 5B 4B 3B 5B 1A 2A 3B 2B 2C 4C 2C 3C
output:
NIE
result:
ok single line: 'NIE'
Subtask #7:
score: 1
Accepted
Test #63:
score: 1
Accepted
time: 1ms
memory: 1732kb
input:
59 3C 5C 2A 5B 3B 4B 5B 2A 5B 5C 4A 5B 3B 2A 4A 4A 4C 1B 1C 4A 1C 3C 4A 3B 2C 1B 3B 1B 5C 5C 2C 5A 4B 4C 1C 2B 4C 4A 2C 2A 1C 5C 2A 2B 1C 2C 5A 3B 2B 5B 3C 4C 1B 5A 5B 5C 5C 2A 4A
output:
NIE
result:
ok single line: 'NIE'
Test #64:
score: 0
Accepted
time: 1ms
memory: 1676kb
input:
87 1A 5B 3A 3A 1A 5C 5C 4C 3B 5C 1B 2A 2B 5B 5C 5A 4C 5B 1A 3B 4A 5A 2A 3C 4A 4B 4C 3C 2A 2C 5C 2B 5A 3B 3A 1B 4B 5B 5B 2C 3A 5B 1A 4C 3A 2A 3B 2C 2A 3A 5A 3A 4A 4C 5C 2A 5B 5A 2B 5B 2B 1A 2C 5A 2B 5B 4A 5A 3B 1B 2B 3C 3A 4A 3A 1A 4A 1B 2C 5C 3A 1A 5A 4A 1A 5A 3C
output:
NIE
result:
ok single line: 'NIE'
Test #65:
score: 0
Accepted
time: 0ms
memory: 1732kb
input:
91 2B 1A 4C 3C 1A 1A 4B 2C 5A 4C 2B 5C 4B 1C 5A 3B 2A 3B 1C 3C 3A 1A 2A 5C 5A 4C 1B 4A 2A 3C 5B 3B 4A 5A 1B 2C 5B 3B 3A 4B 2C 4A 5C 1B 3A 1C 2B 2B 2C 3A 1B 4C 4C 1B 2C 3C 4A 4B 3B 1C 1C 5A 1B 4A 3B 2B 1C 1B 2C 5C 4B 1A 3A 4C 3C 3B 1B 1C 2A 1B 1C 5C 3A 1B 3A 3B 1B 3A 2B 5C 2C
output:
TAK
result:
ok single line: 'TAK'
Test #66:
score: 0
Accepted
time: 1ms
memory: 1584kb
input:
7 2C 4C 2B 2C 4A 2B 2C
output:
NIE
result:
ok single line: 'NIE'
Test #67:
score: 0
Accepted
time: 1ms
memory: 1732kb
input:
72 5B 2C 1B 5A 1B 1A 5B 4C 5C 3B 5B 3C 5C 3C 2C 1B 3C 4C 3A 3A 4A 4A 3A 1C 5A 5C 1A 4C 2C 1A 2C 1A 3C 4C 1B 1B 5C 5C 5B 5B 1A 1A 5B 1B 3A 5C 4B 4C 2C 4A 5B 4A 2A 5B 4A 2A 4A 4B 3A 3B 4A 3B 1B 2A 4C 5B 4B 4A 1A 5A 1C 5A
output:
NIE
result:
ok single line: 'NIE'
Test #68:
score: 0
Accepted
time: 1ms
memory: 1532kb
input:
23 3A 1B 4B 5C 5B 1B 3C 1A 2C 2A 5C 3A 2B 5B 4B 1A 4C 1C 2A 1C 5A 5A 5A
output:
NIE
result:
ok single line: 'NIE'
Test #69:
score: 0
Accepted
time: 1ms
memory: 1644kb
input:
90 1B 2C 5A 1A 1A 4B 2C 2B 5C 5B 4C 2B 5A 5B 4A 5A 4B 2A 1A 5B 5C 4C 1A 4A 4B 2C 1B 4A 1A 1A 4A 1B 2A 4B 1C 3A 1C 3B 2B 1C 2C 1B 1B 5C 3B 3B 2C 5A 5B 1A 4A 1B 2A 1C 2C 3B 3C 2C 2B 5B 4C 1B 5A 5A 3C 5A 2A 1A 1A 3A 5B 4C 1B 4B 5A 5B 1A 5B 1B 4A 5A 3A 2A 1C 4A 4B 4C 3C 2C 2A
output:
TAK
result:
ok single line: 'TAK'
Test #70:
score: 0
Accepted
time: 1ms
memory: 1684kb
input:
94 1B 3C 1C 4A 2B 1C 1A 4A 2A 1B 1B 1C 4A 4B 2A 4C 2C 1C 5B 4A 4C 5C 4C 5B 4A 1A 1C 1A 2B 3C 3C 4C 3B 3A 1B 1B 2A 2C 3B 5B 4A 3B 2C 4B 2B 1C 1B 5C 4A 1B 3A 1A 4C 4B 2A 3C 1C 1B 5B 2C 5C 1A 5C 2B 5C 2C 1C 5C 1C 3B 3B 5B 3A 2B 1A 3A 3C 5B 1C 4A 3A 1C 1A 4B 2A 1C 1C 2C 1B 2A 3C 3B 3B 4C
output:
NIE
result:
ok single line: 'NIE'
Test #71:
score: 0
Accepted
time: 1ms
memory: 1684kb
input:
87 3A 3B 5A 4A 1A 1B 1B 5C 4C 1C 3A 4B 3A 3B 3A 5B 5A 2B 5A 4C 3B 1A 2A 3A 5A 2A 3B 2C 3B 5A 1B 5C 2A 2B 3C 4C 3C 5C 4C 1B 5A 2C 1C 4B 1B 4C 4C 2B 3C 5B 4A 3B 5A 1B 5C 4B 1B 4B 5C 2C 4C 4B 4C 1C 2C 4B 3B 5C 2B 2A 1A 5B 2C 5B 3B 5B 3A 3B 3C 2C 2A 5B 1C 3C 2A 4A 1A
output:
TAK
result:
ok single line: 'TAK'
Test #72:
score: 0
Accepted
time: 1ms
memory: 1592kb
input:
65 4C 1C 4C 3A 5C 3A 5C 3B 4B 1C 2C 4A 2B 1C 3B 4C 4A 2A 5A 5C 5C 5C 3B 5C 5A 2C 3C 4C 2C 5B 2B 2A 3A 5B 3B 3C 3C 4C 2C 4C 3C 5A 4B 5A 3C 5A 3B 2A 3A 5B 5B 1C 3C 4A 1C 3B 5A 3A 2B 4C 4A 4A 4B 4C 2C
output:
NIE
result:
ok single line: 'NIE'
Subtask #8:
score: 1
Accepted
Test #73:
score: 1
Accepted
time: 0ms
memory: 1640kb
input:
72 2B 5B 4B 5A 5C 4C 5C 5A 3B 5B 3A 3B 2B 2B 5A 5B 5C 2C 2A 3B 4C 4B 4C 4A 2A 4A 5C 2A 2B 2B 4B 4C 3A 5B 3A 2B 2C 1C 3C 2A 3C 3A 3C 2B 2C 4A 3C 5A 5C 3A 5C 2C 4B 5B 3B 3A 4A 4B 5A 2C 4B 5A 2B 2B 1A 2B 4A 1C 5B 1C 2B 1B
output:
TAK
result:
ok single line: 'TAK'
Test #74:
score: 0
Accepted
time: 1ms
memory: 1680kb
input:
85 1A 2A 4B 1A 1A 1C 4B 3A 1B 1C 1A 3B 1B 4B 3B 5C 3B 4C 3B 2B 2B 5A 1A 1C 4C 5B 4C 5C 2C 1B 1C 4B 1C 2A 3B 4C 5C 5A 1B 1A 3A 1A 4C 3B 1A 2A 3A 5C 3B 3A 3A 5C 1A 1C 1A 4A 2B 1B 2A 1A 2A 2B 5C 3B 5B 3A 4B 4B 3B 5C 1B 5C 2C 4B 5C 2C 4B 5C 5B 2C 2C 1C 1B 5B 5B
output:
NIE
result:
ok single line: 'NIE'
Test #75:
score: 0
Accepted
time: 1ms
memory: 1684kb
input:
51 4C 2C 5B 1A 5C 3C 3C 2A 5C 4B 2B 5B 5C 4A 5C 3C 2C 5A 1B 2C 2C 5A 4A 2B 4B 5C 4B 5B 1C 4C 1C 5A 3B 4A 2C 5B 5B 4A 2A 2C 5B 2B 1B 1C 3A 4B 1C 2A 2A 1C 3B
output:
TAK
result:
ok single line: 'TAK'
Test #76:
score: 0
Accepted
time: 1ms
memory: 1732kb
input:
99 2B 5C 2C 1B 2B 4C 1C 2A 4C 5A 4C 3A 3C 5B 3A 4B 1C 4B 1B 2C 1B 1B 1C 3A 4B 4B 3C 5C 3C 2A 2B 2A 2A 3A 5C 2B 2A 5B 3A 5B 3B 2B 3B 5A 5C 1C 1A 3C 5C 2C 4C 3A 1A 2C 5C 5B 2A 4C 3B 1B 3C 2A 1C 3B 1C 1A 5C 5C 1A 3B 3C 5A 1A 5A 5B 1A 1B 2A 5A 4C 2C 3C 5A 3C 5C 1A 2C 5B 2A 4B 3A 2C 1A 5A 3C 5A 4C 2A 2A
output:
NIE
result:
ok single line: 'NIE'
Test #77:
score: 0
Accepted
time: 1ms
memory: 1728kb
input:
44 2B 1B 3A 3A 1A 1A 5C 5C 5B 1C 4A 1B 2C 2B 3C 5A 5C 2A 5B 3B 4A 5B 2C 5B 4B 2A 4B 2B 1C 3B 4C 3B 3B 1A 5C 3A 5A 3A 1C 2A 2A 2C 1C 1C
output:
TAK
result:
ok single line: 'TAK'
Test #78:
score: 0
Accepted
time: 1ms
memory: 1468kb
input:
58 5A 1B 1A 2A 3C 5A 5A 5C 1B 2A 5C 3B 3A 5C 1A 4B 1C 2B 1C 2B 3A 2B 5B 4C 4B 3A 5C 2A 3B 4C 5B 4A 5A 3A 4B 2A 3B 5A 3C 5B 4C 1A 5B 5B 3A 5A 5A 2A 2B 4C 4C 4A 5C 1A 1B 4A 5A 5A
output:
NIE
result:
ok single line: 'NIE'
Test #79:
score: 0
Accepted
time: 1ms
memory: 1532kb
input:
24 5C 1C 4B 3C 4A 2B 1B 5A 2B 2B 1A 5B 4C 1C 2A 4C 2C 3C 3B 5B 3A 5A 5C 5C
output:
TAK
result:
ok single line: 'TAK'
Test #80:
score: 0
Accepted
time: 1ms
memory: 1732kb
input:
72 4C 1A 3A 2B 3C 2A 2B 2A 1B 4B 3B 2B 1B 3B 4A 2C 2B 2B 3C 2A 4B 5B 4B 2A 4A 1C 1C 2B 4A 4C 2A 1A 4B 2C 1C 4B 2C 2B 4A 2A 4C 3B 5B 4C 1C 1C 2A 5B 1C 3B 1B 1B 2C 4C 5B 5A 1B 3C 5B 2A 5B 5B 4C 3A 3C 5C 4C 5B 4C 1C 2C 3B
output:
NIE
result:
ok single line: 'NIE'
Test #81:
score: 0
Accepted
time: 1ms
memory: 1588kb
input:
92 3C 4B 1B 1A 2B 4C 3B 3C 2B 3C 2C 3A 3A 4C 4B 1A 3C 5C 2C 2B 4B 1B 3C 4B 3A 4C 5B 2C 1C 4A 3C 4B 5C 4A 3A 3A 3B 3A 3C 4A 2A 1A 2A 2B 1A 2A 4C 1C 4C 2A 3B 4A 1C 3A 1A 3C 2B 3B 3A 3C 5A 3B 4B 2B 5C 1B 3B 1A 2C 4A 3A 4B 1C 2A 1B 3C 1C 5C 4B 4A 2A 2C 2B 3B 1B 5C 2A 1C 3A 4C 4B 2C
output:
NIE
result:
ok single line: 'NIE'
Test #82:
score: 0
Accepted
time: 1ms
memory: 1584kb
input:
49 4A 1B 5A 1C 5A 2A 5A 4A 2C 5A 1C 5C 5C 4C 1B 4B 5B 5B 5A 1C 4C 1A 5A 5C 5B 2A 5A 4B 1A 2B 2B 1C 3A 4B 3B 3A 2A 4A 4A 2C 5B 5A 5C 2B 5A 3B 2B 1A 2C
output:
NIE
result:
ok single line: 'NIE'
Subtask #9:
score: 1
Accepted
Test #83:
score: 1
Accepted
time: 1ms
memory: 1728kb
input:
95 3B 5C 1B 2A 4C 1A 3C 2A 4A 5A 1B 4C 1A 3C 5A 3B 5A 3A 5B 5B 2C 5B 3B 5C 2B 1A 1C 2C 1A 4C 5B 5C 2A 2B 1B 4C 2A 1A 1B 5A 2B 4C 3A 3B 3B 5C 3C 3A 3B 4A 4B 5A 1B 2A 1C 4C 1B 1A 4B 2B 5B 3A 5C 4B 1C 3C 4A 2B 3A 1C 4B 5B 3C 5B 5A 3C 5A 3A 5C 3C 1A 4C 2B 4A 1C 5C 4A 4C 3C 2C 2B 1B 3B 4B 2C
output:
TAK
result:
ok single line: 'TAK'
Test #84:
score: 0
Accepted
time: 1ms
memory: 1676kb
input:
44 4C 2C 3B 4B 5B 5C 4A 1A 2B 5B 1B 3A 5B 4B 3B 5C 3A 1C 5B 5C 5B 1C 5B 1B 2B 1A 1C 1A 4C 1C 3C 3A 5A 3A 1B 1A 2A 3B 5A 3C 5A 5A 3B 2A
output:
TAK
result:
ok single line: 'TAK'
Test #85:
score: 0
Accepted
time: 1ms
memory: 1684kb
input:
60 4C 5A 1A 3C 2A 4B 4B 2C 2B 2B 5A 5C 3C 5A 3C 3C 3C 5A 5A 2A 4C 3A 3A 3B 4B 2A 4C 2A 4C 5C 5B 5B 5C 4C 3A 2A 4C 2A 1C 1C 3C 5B 2B 2A 1C 2C 5C 3C 4B 4B 3A 3B 2B 5C 3A 1C 5A 5B 1A 1A
output:
NIE
result:
ok single line: 'NIE'
Test #86:
score: 0
Accepted
time: 1ms
memory: 1736kb
input:
27 4A 3C 3C 1A 2A 4C 5B 5B 5A 1A 3C 4A 3B 5A 2B 3A 5C 5B 1B 1C 3C 3A 4C 2C 4B 5C 1C
output:
TAK
result:
ok single line: 'TAK'
Test #87:
score: 0
Accepted
time: 0ms
memory: 1584kb
input:
86 1C 4C 4A 5C 1C 5A 4C 3B 3C 4B 2A 2C 2A 4C 5A 2A 2A 5C 2B 5B 4A 5B 4C 3A 1A 5C 3B 2C 4A 4B 1A 5C 1C 3C 1A 1A 5C 4C 5C 5B 5C 3C 4A 3B 5A 3C 5B 4A 5C 4C 5B 2A 3C 4B 1C 2B 4C 5A 1C 3B 3C 1C 3A 3B 3A 2C 4B 4A 5A 2C 3C 2A 1A 1A 4C 2C 1C 3C 5B 4A 5A 3B 2C 1C 5A 5B
output:
NIE
result:
ok single line: 'NIE'
Test #88:
score: 0
Accepted
time: 1ms
memory: 1676kb
input:
92 4B 4B 2B 1A 4B 1C 5C 5B 4A 5B 2A 4A 3A 1C 3B 2B 5B 4C 4B 4C 2B 1C 3B 4B 5A 5B 1C 5B 3A 4B 4A 5B 4C 5B 2C 3B 4B 5C 5B 4B 2C 1B 2B 5B 3A 4C 5C 2C 5B 4B 2A 4A 2C 1C 5A 5C 4A 4A 5C 4C 4A 3A 1A 4B 1B 1A 1A 3A 5B 4A 4A 5A 3A 2C 4A 5B 1C 5A 4B 4A 3C 1C 2A 5B 3A 1B 4C 3A 3A 4A 3A 5A
output:
TAK
result:
ok single line: 'TAK'
Test #89:
score: 0
Accepted
time: 1ms
memory: 1684kb
input:
99 5A 2A 4A 5A 4B 3A 3C 5B 2C 2B 1C 1C 1B 3A 4B 2C 3A 4B 5B 1C 1C 2C 5B 2A 2A 4C 5B 4B 1B 3C 1B 5A 1B 5A 3C 4B 3A 2B 1C 1B 5A 3C 2C 5C 1A 1A 1C 3C 5C 4B 4B 2A 5A 5B 4B 2C 1C 4B 3C 2C 5A 2C 2B 4B 5C 3C 4C 4A 5C 5C 4C 5B 1C 3C 1A 5C 3A 4C 4B 1A 3C 1B 2A 4C 3C 1A 3C 5A 1A 4C 5B 5C 2A 4C 1A 2B 3C 3C 4A
output:
NIE
result:
ok single line: 'NIE'
Test #90:
score: 0
Accepted
time: 1ms
memory: 1736kb
input:
49 3C 1B 4A 1B 1C 1A 3A 2B 5A 3A 4A 2B 3A 4B 2B 3B 3C 2B 2B 2B 1B 2C 3B 5C 4B 1C 4C 2C 2B 3A 4A 3A 3B 3A 4A 1C 1C 1B 3C 2B 4C 1A 2A 5B 2A 2A 2B 4B 4B
output:
NIE
result:
ok single line: 'NIE'
Test #91:
score: 0
Accepted
time: 1ms
memory: 1732kb
input:
25 2B 1A 3A 5C 1B 5B 2C 4A 3B 3B 2A 1C 4C 2C 3B 5A 5A 5B 3C 1A 5C 4B 1C 5B 4B
output:
TAK
result:
ok single line: 'TAK'
Test #92:
score: 0
Accepted
time: 1ms
memory: 1468kb
input:
100 4A 3B 5A 2B 4A 2C 3A 5A 3B 4B 5C 4B 2C 5A 2C 3B 2A 3B 3C 4B 1A 1C 2B 4B 5A 5B 5A 2C 2B 2B 5A 3B 2B 1C 2C 2C 5B 3C 2A 1A 4C 4B 2C 5B 4B 1C 4A 5C 5C 2B 3B 4A 5C 3C 2A 1A 2B 5C 4A 1A 5C 2B 4C 1C 4A 3C 5A 5B 1B 4B 4C 1A 3C 1A 1C 5B 3C 1B 5B 4A 2C 1B 2C 2C 2C 5C 5A 1B 1A 1A 5B 5A 1B 1B 2B 5B 2A 5A 5B...
output:
TAK
result:
ok single line: 'TAK'
Subtask #10:
score: 1
Accepted