QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#844130#9784. Donkey and Puss in Bootsucup-team864#AC ✓6ms6084kbC++23436b2025-01-05 15:14:592025-01-05 15:14:59

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3600kb

input:

2
2 2

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

4
0 47 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

4
0 47 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #4:

score: 0
Accepted
time: 0ms
memory: 3684kb

input:

10
5 7 3 0 2 0 0 1 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #5:

score: 0
Accepted
time: 0ms
memory: 3484kb

input:

5
8 5 1 1 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #6:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

9
5 13 1 0 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #7:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

7
13 0 1 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #8:

score: 0
Accepted
time: 0ms
memory: 3492kb

input:

5
0 0 0 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #9:

score: 0
Accepted
time: 0ms
memory: 3492kb

input:

7
14 3 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #10:

score: 0
Accepted
time: 0ms
memory: 3636kb

input:

2
2 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #11:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

5
0 0 0 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #12:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

10
3 9 2 6 0 0 0 0 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #13:

score: 0
Accepted
time: 0ms
memory: 3640kb

input:

6
3 8 1 0 1 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #14:

score: 0
Accepted
time: 0ms
memory: 3540kb

input:

1
1

output:

Donkey

result:

ok single line: 'Donkey'

Test #15:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

6
6 0 7 2 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #16:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

9
3 6 0 1 0 1 1 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #17:

score: 0
Accepted
time: 0ms
memory: 3540kb

input:

9
6 0 1 0 1 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #18:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

3
0 6 1

output:

Donkey

result:

ok single line: 'Donkey'

Test #19:

score: 0
Accepted
time: 0ms
memory: 3604kb

input:

9
0 0 0 0 0 0 0 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #20:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

1
19

output:

Donkey

result:

ok single line: 'Donkey'

Test #21:

score: 0
Accepted
time: 0ms
memory: 3664kb

input:

2
8 4

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #22:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

4
8 3 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #23:

score: 0
Accepted
time: 0ms
memory: 3496kb

input:

1
0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #24:

score: 0
Accepted
time: 0ms
memory: 3540kb

input:

9
1 5 6 1 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #25:

score: 0
Accepted
time: 0ms
memory: 3692kb

input:

6
12 4 0 2 0 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #26:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

2
10 4

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #27:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

4
13 3 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #28:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

9
1 1 0 0 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #29:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

2
16 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #30:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

8
15 3 2 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #31:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

1
7

output:

Donkey

result:

ok single line: 'Donkey'

Test #32:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

1
17

output:

Donkey

result:

ok single line: 'Donkey'

Test #33:

score: 0
Accepted
time: 0ms
memory: 3656kb

input:

1
1

output:

Donkey

result:

ok single line: 'Donkey'

Test #34:

score: 0
Accepted
time: 0ms
memory: 3488kb

input:

3
10 3 0

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #35:

score: 0
Accepted
time: 0ms
memory: 3664kb

input:

9
5 0 0 0 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #36:

score: 0
Accepted
time: 0ms
memory: 3488kb

input:

9
2 1 0 0 0 4 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #37:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

6
10 4 0 0 1 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #38:

score: 0
Accepted
time: 0ms
memory: 3676kb

input:

10
3 0 4 0 1 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #39:

score: 0
Accepted
time: 0ms
memory: 3588kb

input:

3
4 1 2

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #40:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

6
10 2 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #41:

score: 0
Accepted
time: 0ms
memory: 3584kb

input:

9
8 0 0 0 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #42:

score: 0
Accepted
time: 0ms
memory: 3680kb

input:

4
2 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #43:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

7
2 15 0 0 0 0 0

output:

Donkey

result:

ok single line: 'Donkey'

Test #44:

score: 0
Accepted
time: 0ms
memory: 3488kb

input:

9
5412758 940655 256687 2439 3167 76 1437 2790 1015

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #45:

score: 0
Accepted
time: 0ms
memory: 3636kb

input:

6
6298190 201610 286650 73517 31710 2631

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #46:

score: 0
Accepted
time: 0ms
memory: 3688kb

input:

1
7156872

output:

Donkey

result:

ok single line: 'Donkey'

Test #47:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

10
339617 39077 1525210 7097 9975 101 110 153 0 6

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #48:

score: 0
Accepted
time: 0ms
memory: 5692kb

input:

83292
49423 22330 3030 4647 976 1583 740 68 2 0 6 2 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Donkey

result:

ok single line: 'Donkey'

Test #49:

score: 0
Accepted
time: 1ms
memory: 3696kb

input:

10432
9270 24192 2674 42 36 19 0 9 1 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #50:

score: 0
Accepted
time: 1ms
memory: 3748kb

input:

32174
13090 389 34 18 19 28 22 1 3 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

output:

Donkey

result:

ok single line: 'Donkey'

Test #51:

score: 0
Accepted
time: 1ms
memory: 3904kb

input:

25017
114940 9558 14314 14140 690 177 430 33 23 29 53 40 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #52:

score: 0
Accepted
time: 2ms
memory: 4096kb

input:

57831
30726 18157 47536 707 677 348 659 696 621 4 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Donkey

result:

ok single line: 'Donkey'

Test #53:

score: 0
Accepted
time: 0ms
memory: 3496kb

input:

1248
7911 318 12 1043 101 74 417 379 5 37 26 1 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #54:

score: 0
Accepted
time: 2ms
memory: 3980kb

input:

43029
104640 391 383 1963 1293 535 83 4 9 3 9 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Donkey

result:

ok single line: 'Donkey'

Test #55:

score: 0
Accepted
time: 1ms
memory: 3912kb

input:

29444
20380 3366 22046 5174 397 11162 72 348 34 4 6 4 1 0 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #56:

score: 0
Accepted
time: 2ms
memory: 3824kb

input:

42572
131111 23974 1371 438 3 28 4 2 2 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

output:

Donkey

result:

ok single line: 'Donkey'

Test #57:

score: 0
Accepted
time: 1ms
memory: 3760kb

input:

12162
89379 30928 15536 3541 1534 1059 381 83 450 5 356 96 43 1 0 6 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #58:

score: 0
Accepted
time: 0ms
memory: 4316kb

input:

94051
114887 37716 815 1972 3683 7102 3383 5345 141 126 21 3 4 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

output:

Donkey

result:

ok single line: 'Donkey'

Test #59:

score: 0
Accepted
time: 1ms
memory: 3852kb

input:

28308
42031 14543 4082 1855 4501 1746 75 49 30 7 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

output:

Donkey

result:

ok single line: 'Donkey'

Test #60:

score: 0
Accepted
time: 0ms
memory: 5900kb

input:

53856
8294 3697 4350 531 202 177 142 63 23 0 9 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

output:

Donkey

result:

ok single line: 'Donkey'

Test #61:

score: 0
Accepted
time: 0ms
memory: 4264kb

input:

83027
159035 13204 5575 106 6 5 9 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Donkey

result:

ok single line: 'Donkey'

Test #62:

score: 0
Accepted
time: 1ms
memory: 3696kb

input:

10141
57431 46229 6861 9782 38618 3346 868 313 53 0 9 4 0 1 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #63:

score: 0
Accepted
time: 1ms
memory: 5700kb

input:

15924
2762 413 6 1 2 2 0 1 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

output:

Donkey

result:

ok single line: 'Donkey'

Test #64:

score: 0
Accepted
time: 2ms
memory: 4076kb

input:

63800
25680 10827 5335 1500 2131 62 234 199 26 21 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Donkey

result:

ok single line: 'Donkey'

Test #65:

score: 0
Accepted
time: 0ms
memory: 3704kb

input:

5309
17559 2219 4661 891 256 213 63 1 2 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #66:

score: 0
Accepted
time: 1ms
memory: 3600kb

input:

7346
68665 4992 21103 2059 316 4962 3145 1867 356 174 33 74 57 22 0 5 2 0 0 3 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #67:

score: 0
Accepted
time: 2ms
memory: 3956kb

input:

59654
19237 70097 12556 86 111 78 10 1 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

output:

Donkey

result:

ok single line: 'Donkey'

Test #68:

score: 0
Accepted
time: 0ms
memory: 5696kb

input:

79353
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #69:

score: 0
Accepted
time: 2ms
memory: 3928kb

input:

47819
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #70:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

14867
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #71:

score: 0
Accepted
time: 1ms
memory: 3716kb

input:

14564
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #72:

score: 0
Accepted
time: 6ms
memory: 6084kb

input:

96622
587730425 960354774 443572677 667962437 684681921 836880663 344574767 504765059 503913089 337199797 475525053 338782516 810218872 581105389 912309875 902810425 134461351 226038334 330057069 318973898 564791723 750385176 116073356 689906130 955616843 20540330 226838358 748578680 351884066 23686...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #73:

score: 0
Accepted
time: 3ms
memory: 3936kb

input:

42583
728866132 347932863 4867706 192112922 606426453 201615158 665897157 349219459 666184999 488056892 149623275 76730757 855718150 39797263 566079752 106906146 246078044 595162521 480234337 843041256 827272838 309932981 360382660 182841719 724068299 780205746 799132829 672445518 610183943 69747998...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #74:

score: 0
Accepted
time: 4ms
memory: 3976kb

input:

54178
714666933 109167960 44890911 994826894 203335928 646693399 170319929 752798400 805808529 576040332 198510694 940729495 858633466 344673218 200026352 363146318 739000530 587683648 225444160 161157104 663235928 815991827 749997532 733753036 18276243 590398021 998508843 344151161 625317845 585531...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #75:

score: 0
Accepted
time: 6ms
memory: 4344kb

input:

94150
700071921 319714337 664043439 823476342 222782586 935094837 402096105 384712464 313490666 532253599 770148256 746515778 259852124 9198391 82738803 307777747 124482336 38661845 355859129 372254577 799327804 409351432 715584937 472319874 597438321 366103407 825577066 338615351 930181848 51991895...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #76:

score: 0
Accepted
time: 0ms
memory: 3528kb

input:

4358
492171028 408187162 241214875 351638285 800429874 389297677 63644430 309298040 762588419 110197494 264254373 222540474 738888422 217942723 121453794 792113182 62436645 942218333 515373854 111067413 196557167 667259176 353935565 516637497 37473238 775618209 333113037 591361619 510860105 50418489...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #77:

score: 0
Accepted
time: 0ms
memory: 3968kb

input:

48996
960498724 355966303 677203328 550448027 652196964 334638568 491713774 378839821 949506251 120022046 353337023 97909268 161043820 572083165 781128896 282877720 770068442 889234238 2360268 121821267 402601056 819741149 736508937 336796745 722921800 141093777 442586669 742949011 915823729 7627402...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #78:

score: 0
Accepted
time: 3ms
memory: 3892kb

input:

38555
707137344 171729253 479880220 863307103 419861511 346007730 679952015 374881823 708238461 268123884 678404276 928126937 987870197 664522417 638470092 763260302 434226797 498426176 499185094 84837965 196880574 763595484 421614560 876306910 177390974 2175086 801855474 271136200 172639718 1217432...

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Test #79:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

2
2 2

output:

Puss in Boots

result:

ok single line: 'Puss in Boots'

Extra Test:

score: 0
Extra Test Passed