QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#869589#8619. Interactive Casinoucup-team5656#WA 2ms3712kbC++141.5kb2025-01-25 11:44:352025-01-25 11:44:36

详细

Test #1:

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

input:

5
ROUND 1000 43
ROUND 957 433
ROUND 957 525
ROUND 957 125
ROUND 832 685
WIN

output:

PLAY
SKIP
SKIP
PLAY
SKIP

result:

ok OK

Test #2:

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

input:

1000
ROUND 1000 741
ROUND 1000 70
ROUND 1140 976
ROUND 1140 955
ROUND 1140 667
ROUND 1140 372
ROUND 768 634
ROUND 768 573
ROUND 768 5
ROUND 763 738
ROUND 763 263
ROUND 1289 856
ROUND 1289 259
ROUND 1807 614
ROUND 1193 735
ROUND 1193 1084
ROUND 1193 703
ROUND 1193 461
ROUND 732 306
ROUND 732 726
ROUN...

output:

SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
...

result:

ok OK

Test #3:

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

input:

1000
ROUND 1000 13
ROUND 1026 402
ROUND 1830 1408
ROUND 1830 81
ROUND 1749 1458
ROUND 1749 722
ROUND 1749 1215
ROUND 1749 415
ROUND 2579 999
ROUND 1580 204
ROUND 1376 1036
ROUND 1376 1278
ROUND 1376 288
ROUND 1088 710
ROUND 1088 731
ROUND 1088 977
ROUND 1088 73
ROUND 1234 369
ROUND 1972 207
ROUND 17...

output:

PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY

result:

ok OK

Test #4:

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

input:

1000
ROUND 1000 589
ROUND 1000 55
ROUND 1110 406
ROUND 1922 1024
ROUND 1922 449
ROUND 1473 1305
ROUND 1473 238
ROUND 1235 981
ROUND 1235 812
ROUND 1235 972
ROUND 1235 555
ROUND 1235 747
ROUND 1235 856
ROUND 1235 529
ROUND 1235 483
ROUND 2201 1790
ROUND 2201 71
ROUND 2130 1754
ROUND 2130 1352
ROUND 2...

output:

SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
...

result:

ok OK

Test #5:

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

input:

1000
ROUND 1000 765
ROUND 1000 729
ROUND 1000 358
ROUND 1716 939
ROUND 1716 476
ROUND 1240 1134
ROUND 1240 536
ROUND 1240 930
ROUND 1240 238
ROUND 1716 338
ROUND 1378 1346
ROUND 1378 1028
ROUND 1378 1221
ROUND 1378 1029
ROUND 1378 289
ROUND 1956 1542
ROUND 1956 1724
ROUND 1956 441
ROUND 1515 92
ROUN...

output:

SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
...

result:

ok OK

Test #6:

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

input:

1000
ROUND 1000 637
ROUND 1000 885
ROUND 1000 909
ROUND 1000 190
ROUND 1380 467
ROUND 2314 1836
ROUND 2314 6
ROUND 2308 2082
ROUND 2308 834
ROUND 1474 379
ROUND 2232 1177
ROUND 2232 267
ROUND 1965 1138
ROUND 1965 1648
ROUND 1965 1812
ROUND 1965 919
ROUND 1965 842
ROUND 1965 480
ROUND 1485 275
ROUND ...

output:

SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
...

result:

ok OK

Test #7:

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

input:

1000
ROUND 1000 613
ROUND 1000 418
ROUND 1000 658
ROUND 1000 815
ROUND 1000 666
ROUND 1000 50
ROUND 1100 450
ROUND 1100 783
ROUND 1100 975
ROUND 1100 721
ROUND 1100 41
ROUND 1182 685
ROUND 1182 864
ROUND 1182 1036
ROUND 1182 708
ROUND 1182 451
ROUND 2084 703
ROUND 3490 2746
ROUND 3490 3358
ROUND 349...

output:

SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY

result:

ok OK

Test #8:

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

input:

1000
ROUND 1000 893
ROUND 1000 277
ROUND 723 93
ROUND 630 233
ROUND 397 110
ROUND 617 54
ROUND 563 38
ROUND 639 61
ROUND 761 638
ROUND 761 737
ROUND 761 276
ROUND 1313 357
ROUND 2027 1630
ROUND 2027 824
ROUND 2027 1154
ROUND 2027 1804
ROUND 2027 598
ROUND 3223 2165
ROUND 3223 208
ROUND 3639 2636
ROU...

output:

SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY

result:

ok OK

Test #9:

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

input:

1000
ROUND 1000 364
ROUND 1728 1272
ROUND 1728 1133
ROUND 1728 81
ROUND 1890 119
ROUND 1771 163
ROUND 2097 699
ROUND 3495 1420
ROUND 3495 633
ROUND 2862 1131
ROUND 5124 4616
ROUND 5124 2519
ROUND 5124 3082
ROUND 5124 3808
ROUND 5124 4885
ROUND 5124 3860
ROUND 5124 225
ROUND 5574 666
ROUND 6906 5361
...

output:

PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY

result:

ok OK

Test #10:

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

input:

1000
ROUND 1000 236
ROUND 1472 1070
ROUND 1472 391
ROUND 2254 1348
ROUND 2254 1814
ROUND 2254 266
ROUND 2786 1131
ROUND 2786 256
ROUND 3298 2145
ROUND 3298 2418
ROUND 3298 2109
ROUND 3298 2884
ROUND 3298 2019
ROUND 3298 2723
ROUND 3298 2002
ROUND 3298 2962
ROUND 3298 2176
ROUND 3298 884
ROUND 5066 1...

output:

PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
...

result:

ok OK

Test #11:

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

input:

1000
ROUND 1000 213
ROUND 787 509
ROUND 787 105
ROUND 682 103
ROUND 579 545
ROUND 579 367
ROUND 579 480
ROUND 579 327
ROUND 579 332
ROUND 579 574
ROUND 579 39
ROUND 540 172
ROUND 368 60
ROUND 488 88
ROUND 664 565
ROUND 664 23
ROUND 641 265
ROUND 641 87
ROUND 554 303
ROUND 554 137
ROUND 417 119
ROUND...

output:

PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
...

result:

ok OK

Test #12:

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

input:

1000
ROUND 1000 788
ROUND 1000 900
ROUND 1000 801
ROUND 1000 531
ROUND 1000 486
ROUND 1000 486
ROUND 1000 292
ROUND 708 149
ROUND 1006 347
ROUND 659 15
ROUND 689 648
ROUND 689 682
ROUND 689 81
ROUND 608 397
ROUND 608 423
ROUND 608 445
ROUND 608 75
ROUND 533 188
ROUND 345 190
ROUND 345 152
ROUND 345 ...

output:

SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
...

result:

ok OK

Test #13:

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

input:

1000
ROUND 1000 166
ROUND 834 262
ROUND 572 384
ROUND 572 132
ROUND 440 263
ROUND 440 347
ROUND 440 145
ROUND 295 107
ROUND 509 96
ROUND 701 284
ROUND 701 597
ROUND 701 540
ROUND 701 632
ROUND 701 375
ROUND 701 580
ROUND 701 370
ROUND 701 20
ROUND 741 368
ROUND 741 23
ROUND 718 351
ROUND 718 648
ROU...

output:

PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
...

result:

ok OK

Test #14:

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

input:

1000
ROUND 1000 446
ROUND 1000 566
ROUND 1000 348
ROUND 1696 1031
ROUND 1696 19
ROUND 1677 771
ROUND 1677 1078
ROUND 1677 875
ROUND 1677 975
ROUND 1677 601
ROUND 1076 543
ROUND 1076 540
ROUND 1076 627
ROUND 1076 853
ROUND 1076 256
ROUND 1588 1215
ROUND 1588 891
ROUND 1588 28
ROUND 1560 812
ROUND 156...

output:

SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
...

result:

ok OK

Test #15:

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

input:

1000
ROUND 1000 718
ROUND 1000 99
ROUND 1198 1020
ROUND 1198 731
ROUND 1198 869
ROUND 1198 66
ROUND 1330 1068
ROUND 1330 439
ROUND 2208 505
ROUND 3218 3199
ROUND 3218 1361
ROUND 3218 732
ROUND 4682 4013
ROUND 4682 2035
ROUND 4682 2865
ROUND 4682 3364
ROUND 4682 343
ROUND 5368 4194
ROUND 5368 3147
RO...

output:

SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
...

result:

ok OK

Test #16:

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

input:

1000
ROUND 1000 294
ROUND 706 470
ROUND 706 106
ROUND 600 325
ROUND 600 41
ROUND 682 412
ROUND 682 77
ROUND 605 522
ROUND 605 528
ROUND 605 6
ROUND 599 176
ROUND 423 217
ROUND 423 356
ROUND 423 246
ROUND 423 111
ROUND 312 190
ROUND 312 122
ROUND 190 153
ROUND 190 145
ROUND 190 70
ROUND 330 172
ROUND...

output:

PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
...

result:

ok OK

Test #17:

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

input:

1000
ROUND 1000 765
ROUND 1000 224
ROUND 1448 324
ROUND 1124 189
ROUND 935 380
ROUND 935 577
ROUND 935 686
ROUND 935 751
ROUND 935 889
ROUND 935 344
ROUND 1623 1105
ROUND 1623 855
ROUND 1623 1360
ROUND 1623 1245
ROUND 1623 976
ROUND 1623 605
ROUND 2833 666
ROUND 2167 1049
ROUND 2167 1717
ROUND 2167 ...

output:

SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY

result:

ok OK

Test #18:

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

input:

1000
ROUND 1000 341
ROUND 659 542
ROUND 659 43
ROUND 616 192
ROUND 1000 443
ROUND 1000 162
ROUND 1324 798
ROUND 1324 1083
ROUND 1324 265
ROUND 1059 50
ROUND 1009 304
ROUND 1617 1493
ROUND 1617 104
ROUND 1513 911
ROUND 1513 1287
ROUND 1513 261
ROUND 1252 926
ROUND 1252 1052
ROUND 1252 1247
ROUND 1252...

output:

PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
...

result:

ok OK

Test #19:

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

input:

1000
ROUND 1000 318
ROUND 1636 1211
ROUND 1636 1003
ROUND 1636 1621
ROUND 1636 862
ROUND 1636 603
ROUND 2842 904
ROUND 1938 1397
ROUND 1938 536
ROUND 1402 182
ROUND 1766 936
ROUND 1766 1563
ROUND 1766 1114
ROUND 1766 347
ROUND 1419 322
ROUND 1097 974
ROUND 1097 844
ROUND 1097 807
ROUND 1097 516
ROUN...

output:

PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
...

result:

ok OK

Test #20:

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

input:

1000
ROUND 1000 893
ROUND 1000 581
ROUND 1000 345
ROUND 655 181
ROUND 1017 959
ROUND 1017 968
ROUND 1017 226
ROUND 791 771
ROUND 791 76
ROUND 715 520
ROUND 715 49
ROUND 666 126
ROUND 918 257
ROUND 661 266
ROUND 661 213
ROUND 1087 448
ROUND 1087 962
ROUND 1087 79
ROUND 1008 600
ROUND 1008 591
ROUND 1...

output:

SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
...

result:

ok OK

Test #21:

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

input:

1000
ROUND 1000 69
ROUND 1138 913
ROUND 1138 905
ROUND 1138 568
ROUND 1138 953
ROUND 1138 577
ROUND 1138 753
ROUND 1138 35
ROUND 1208 831
ROUND 1208 860
ROUND 1208 923
ROUND 1208 514
ROUND 1208 962
ROUND 1208 479
ROUND 729 542
ROUND 729 15
ROUND 714 51
ROUND 663 13
ROUND 689 223
ROUND 1135 236
ROUND...

output:

PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
...

result:

ok OK

Test #22:

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

input:

1000
ROUND 1000 941
ROUND 1000 707
ROUND 1000 39
ROUND 961 899
ROUND 961 108
ROUND 853 652
ROUND 853 218
ROUND 635 51
ROUND 584 320
ROUND 584 281
ROUND 584 295
ROUND 584 74
ROUND 510 260
ROUND 510 50
ROUND 610 424
ROUND 610 472
ROUND 610 39
ROUND 571 419
ROUND 571 68
ROUND 707 60
ROUND 827 195
ROUND...

output:

SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
...

result:

ok OK

Test #23:

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

input:

1000
ROUND 1000 917
ROUND 1000 240
ROUND 760 441
ROUND 760 259
ROUND 1278 1272
ROUND 1278 73
ROUND 1205 761
ROUND 1205 1086
ROUND 1205 285
ROUND 1775 1031
ROUND 1775 1356
ROUND 1775 514
ROUND 2803 2602
ROUND 2803 2659
ROUND 2803 2132
ROUND 2803 2328
ROUND 2803 2162
ROUND 2803 1794
ROUND 2803 2293
RO...

output:

SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
...

result:

ok OK

Test #24:

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

input:

1000
ROUND 1000 789
ROUND 1000 395
ROUND 605 259
ROUND 605 181
ROUND 424 158
ROUND 740 643
ROUND 740 109
ROUND 958 780
ROUND 958 785
ROUND 958 390
ROUND 958 907
ROUND 958 882
ROUND 958 883
ROUND 958 211
ROUND 1380 710
ROUND 1380 135
ROUND 1245 691
ROUND 1245 663
ROUND 1245 582
ROUND 1245 216
ROUND 1...

output:

SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
...

result:

ok OK

Test #25:

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

input:

1000
ROUND 1000 669
ROUND 1000 69
ROUND 931 826
ROUND 931 727
ROUND 931 408
ROUND 931 397
ROUND 931 15
ROUND 961 661
ROUND 961 519
ROUND 961 429
ROUND 961 737
ROUND 961 1
ROUND 960 675
ROUND 960 266
ROUND 1492 1056
ROUND 1492 1071
ROUND 1492 1481
ROUND 1492 581
ROUND 2654 1975
ROUND 2654 1803
ROUND ...

output:

SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
...

result:

ok OK

Test #26:

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

input:

1000
ROUND 1000 541
ROUND 1000 929
ROUND 1000 224
ROUND 1448 1172
ROUND 1448 1033
ROUND 1448 739
ROUND 1448 35
ROUND 1413 1139
ROUND 1413 201
ROUND 1212 479
ROUND 733 361
ROUND 733 617
ROUND 733 467
ROUND 733 195
ROUND 538 158
ROUND 380 339
ROUND 380 344
ROUND 380 333
ROUND 380 36
ROUND 344 339
ROUN...

output:

SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
...

result:

ok OK

Test #27:

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

input:

1000
ROUND 1000 517
ROUND 1000 758
ROUND 1000 781
ROUND 1000 450
ROUND 1000 533
ROUND 1000 324
ROUND 1648 327
ROUND 1321 651
ROUND 1321 609
ROUND 1321 633
ROUND 1321 933
ROUND 1321 440
ROUND 881 625
ROUND 881 206
ROUND 675 627
ROUND 675 581
ROUND 675 659
ROUND 675 415
ROUND 675 70
ROUND 815 813
ROUN...

output:

SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY

result:

ok OK

Test #28:

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

input:

1000
ROUND 1000 389
ROUND 611 543
ROUND 611 211
ROUND 1033 852
ROUND 1033 885
ROUND 1033 819
ROUND 1033 103
ROUND 930 627
ROUND 930 379
ROUND 930 702
ROUND 930 429
ROUND 930 857
ROUND 930 866
ROUND 930 705
ROUND 930 78
ROUND 852 759
ROUND 852 709
ROUND 852 7
ROUND 845 701
ROUND 845 229
ROUND 616 221...

output:

PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
...

result:

ok OK

Test #29:

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

input:

1000
ROUND 1000 660
ROUND 1000 752
ROUND 1000 110
ROUND 1220 1165
ROUND 1220 1185
ROUND 1220 1067
ROUND 1220 682
ROUND 1220 17
ROUND 1203 1031
ROUND 1203 988
ROUND 1203 23
ROUND 1249 305
ROUND 944 834
ROUND 944 339
ROUND 1622 649
ROUND 1622 330
ROUND 2282 2282
ROUND 2282 491
ROUND 3264 1691
ROUND 32...

output:

SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
...

result:

ok OK

Test #30:

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

input:

1000
ROUND 1000 236
ROUND 764 53
ROUND 870 462
ROUND 870 766
ROUND 870 170
ROUND 700 321
ROUND 700 149
ROUND 551 522
ROUND 551 369
ROUND 551 234
ROUND 551 540
ROUND 551 168
ROUND 383 173
ROUND 383 252
ROUND 383 253
ROUND 383 192
ROUND 383 120
ROUND 623 133
ROUND 490 5
ROUND 500 38
ROUND 576 501
ROUN...

output:

PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
...

result:

ok OK

Test #31:

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

input:

1000
ROUND 1000 212
ROUND 1424 858
ROUND 1424 1416
ROUND 1424 461
ROUND 963 820
ROUND 963 246
ROUND 717 621
ROUND 717 311
ROUND 717 166
ROUND 1049 746
ROUND 1049 743
ROUND 1049 320
ROUND 1689 701
ROUND 1689 475
ROUND 2639 75
ROUND 2564 2517
ROUND 2564 1803
ROUND 2564 1151
ROUND 2564 391
ROUND 3346 5...

output:

PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
...

result:

ok OK

Test #32:

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

input:

1000
ROUND 1000 84
ROUND 916 612
ROUND 916 646
ROUND 916 243
ROUND 673 159
ROUND 514 306
ROUND 514 214
ROUND 514 403
ROUND 514 399
ROUND 514 256
ROUND 514 88
ROUND 426 91
ROUND 608 393
ROUND 608 547
ROUND 608 184
ROUND 424 56
ROUND 536 328
ROUND 536 34
ROUND 604 279
ROUND 604 484
ROUND 604 296
ROUND...

output:

PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
...

result:

ok OK

Test #33:

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

input:

1000
ROUND 1000 259
ROUND 1518 802
ROUND 1518 752
ROUND 1518 319
ROUND 1199 1011
ROUND 1199 133
ROUND 1465 982
ROUND 1465 779
ROUND 1465 1084
ROUND 1465 491
ROUND 974 439
ROUND 974 886
ROUND 974 410
ROUND 974 396
ROUND 974 504
ROUND 974 738
ROUND 974 212
ROUND 762 519
ROUND 762 274
ROUND 1310 394
RO...

output:

PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
...

result:

ok OK

Test #34:

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

input:

1000
ROUND 1000 835
ROUND 1000 426
ROUND 1000 358
ROUND 642 490
ROUND 642 385
ROUND 642 38
ROUND 604 475
ROUND 604 188
ROUND 416 235
ROUND 416 69
ROUND 347 190
ROUND 347 83
ROUND 264 12
ROUND 252 155
ROUND 252 95
ROUND 157 46
ROUND 249 159
ROUND 249 85
ROUND 164 78
ROUND 164 2
ROUND 162 125
ROUND 16...

output:

SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
...

result:

ok OK

Test #35:

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

input:

1000
ROUND 1000 812
ROUND 1000 63
ROUND 1126 201
ROUND 925 328
ROUND 597 495
ROUND 597 471
ROUND 597 111
ROUND 819 434
ROUND 819 423
ROUND 819 742
ROUND 819 635
ROUND 819 712
ROUND 819 433
ROUND 819 373
ROUND 819 624
ROUND 819 501
ROUND 819 715
ROUND 819 756
ROUND 819 59
ROUND 760 319
ROUND 760 74
R...

output:

SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
...

result:

ok OK

Test #36:

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

input:

1000
ROUND 1000 684
ROUND 1000 411
ROUND 1000 362
ROUND 638 9
ROUND 629 524
ROUND 629 459
ROUND 629 570
ROUND 629 48
ROUND 725 587
ROUND 725 100
ROUND 925 709
ROUND 925 219
ROUND 1363 1014
ROUND 1363 99
ROUND 1561 845
ROUND 1561 564
ROUND 997 531
ROUND 997 703
ROUND 997 230
ROUND 1457 945
ROUND 1457...

output:

SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
...

result:

ok OK

Test #37:

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

input:

1000
ROUND 1000 155
ROUND 1310 51
ROUND 1259 1248
ROUND 1259 1047
ROUND 1259 327
ROUND 932 765
ROUND 932 118
ROUND 1168 188
ROUND 980 943
ROUND 980 469
ROUND 980 847
ROUND 980 419
ROUND 980 753
ROUND 980 572
ROUND 980 929
ROUND 980 918
ROUND 980 433
ROUND 980 964
ROUND 980 443
ROUND 980 153
ROUND 12...

output:

PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
...

result:

ok OK

Test #38:

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

input:

1000
ROUND 1000 435
ROUND 1000 945
ROUND 1000 248
ROUND 752 383
ROUND 752 533
ROUND 752 497
ROUND 752 10
ROUND 742 87
ROUND 916 524
ROUND 916 396
ROUND 916 681
ROUND 916 190
ROUND 726 256
ROUND 1238 994
ROUND 1238 282
ROUND 1802 1379
ROUND 1802 1328
ROUND 1802 860
ROUND 1802 786
ROUND 1802 977
ROUND...

output:

SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
...

result:

ok OK

Test #39:

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

input:

1000
ROUND 1000 707
ROUND 1000 582
ROUND 1000 101
ROUND 1202 638
ROUND 1202 1036
ROUND 1202 1115
ROUND 1202 410
ROUND 792 638
ROUND 792 506
ROUND 792 563
ROUND 792 651
ROUND 792 297
ROUND 1386 1339
ROUND 1386 576
ROUND 1386 784
ROUND 1386 552
ROUND 2490 469
ROUND 2021 1842
ROUND 2021 1629
ROUND 2021...

output:

SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY

result:

ok OK

Test #40:

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

input:

1000
ROUND 1000 283
ROUND 1566 1355
ROUND 1566 1033
ROUND 1566 955
ROUND 1566 1225
ROUND 1566 188
ROUND 1378 970
ROUND 1378 996
ROUND 1378 1081
ROUND 1378 1316
ROUND 1378 118
ROUND 1260 1152
ROUND 1260 684
ROUND 1260 305
ROUND 1870 1540
ROUND 1870 658
ROUND 1212 546
ROUND 1212 621
ROUND 1212 1198
RO...

output:

PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY

result:

ok OK

Test #41:

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

input:

1000
ROUND 1000 459
ROUND 1000 412
ROUND 1000 795
ROUND 1000 489
ROUND 1000 239
ROUND 1478 117
ROUND 1361 725
ROUND 1361 479
ROUND 2319 1255
ROUND 2319 749
ROUND 1570 1293
ROUND 1570 947
ROUND 1570 885
ROUND 1570 908
ROUND 1570 518
ROUND 1052 123
ROUND 929 557
ROUND 929 91
ROUND 1111 885
ROUND 1111 ...

output:

SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
...

result:

ok OK

Test #42:

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

input:

1000
ROUND 1000 35
ROUND 1070 57
ROUND 1184 633
ROUND 1184 450
ROUND 734 566
ROUND 734 212
ROUND 522 515
ROUND 522 496
ROUND 522 87
ROUND 435 198
ROUND 435 350
ROUND 435 339
ROUND 435 115
ROUND 665 571
ROUND 665 358
ROUND 665 221
ROUND 1107 899
ROUND 1107 54
ROUND 1053 66
ROUND 1185 830
ROUND 1185 8...

output:

PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
...

result:

ok OK

Test #43:

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

input:

1000
ROUND 1000 307
ROUND 693 380
ROUND 693 641
ROUND 693 272
ROUND 1237 13
ROUND 1224 434
ROUND 2092 1412
ROUND 2092 541
ROUND 1551 1538
ROUND 1551 959
ROUND 1551 764
ROUND 1551 604
ROUND 2759 800
ROUND 4359 4327
ROUND 4359 2996
ROUND 4359 4291
ROUND 4359 917
ROUND 6193 5606
ROUND 6193 3538
ROUND 6...

output:

PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
...

result:

ok OK

Test #44:

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

input:

1000
ROUND 1000 883
ROUND 1000 552
ROUND 1000 244
ROUND 1488 820
ROUND 1488 980
ROUND 1488 419
ROUND 1069 607
ROUND 1069 565
ROUND 1069 983
ROUND 1069 223
ROUND 1515 1391
ROUND 1515 306
ROUND 1209 323
ROUND 886 684
ROUND 886 245
ROUND 641 350
ROUND 641 234
ROUND 1109 765
ROUND 1109 846
ROUND 1109 51...

output:

SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
...

result:

ok OK

Test #45:

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

input:

1000
ROUND 1000 964
ROUND 1000 574
ROUND 1000 345
ROUND 1690 876
ROUND 1690 1008
ROUND 1690 958
ROUND 1690 648
ROUND 1042 50
ROUND 1142 256
ROUND 886 633
ROUND 886 854
ROUND 886 341
ROUND 1568 519
ROUND 1049 584
ROUND 1049 913
ROUND 1049 658
ROUND 1049 411
ROUND 638 211
ROUND 1060 465
ROUND 1060 954...

output:

SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
...

result:

ok OK

Test #46:

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

input:

1000
ROUND 1000 836
ROUND 1000 730
ROUND 1000 791
ROUND 1000 873
ROUND 1000 349
ROUND 1698 783
ROUND 1698 808
ROUND 1698 87
ROUND 1611 1405
ROUND 1611 642
ROUND 969 772
ROUND 969 376
ROUND 593 72
ROUND 521 1
ROUND 523 345
ROUND 523 427
ROUND 523 45
ROUND 613 405
ROUND 613 587
ROUND 613 554
ROUND 613...

output:

SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
...

result:

ok OK

Test #47:

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

input:

1000
ROUND 1000 812
ROUND 1000 559
ROUND 1000 348
ROUND 652 441
ROUND 652 35
ROUND 617 112
ROUND 841 320
ROUND 521 218
ROUND 521 63
ROUND 647 376
ROUND 647 612
ROUND 647 129
ROUND 905 160
ROUND 1225 662
ROUND 1225 725
ROUND 1225 98
ROUND 1421 114
ROUND 1649 557
ROUND 2763 1334
ROUND 2763 2414
ROUND ...

output:

SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY

result:

ok OK

Test #48:

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

input:

1000
ROUND 1000 388
ROUND 612 195
ROUND 417 326
ROUND 417 33
ROUND 483 465
ROUND 483 52
ROUND 431 155
ROUND 276 119
ROUND 276 182
ROUND 276 109
ROUND 167 166
ROUND 167 134
ROUND 167 164
ROUND 167 151
ROUND 167 34
ROUND 133 29
ROUND 191 43
ROUND 277 240
ROUND 277 58
ROUND 393 105
ROUND 603 322
ROUND ...

output:

PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
...

result:

ok OK

Test #49:

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

input:

1000
ROUND 1000 860
ROUND 1000 93
ROUND 907 702
ROUND 907 626
ROUND 907 213
ROUND 1333 851
ROUND 1333 57
ROUND 1447 815
ROUND 1447 1280
ROUND 1447 462
ROUND 985 838
ROUND 985 609
ROUND 985 922
ROUND 985 260
ROUND 725 143
ROUND 582 457
ROUND 582 340
ROUND 582 267
ROUND 582 37
ROUND 545 523
ROUND 545 ...

output:

SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
...

result:

ok OK

Test #50:

score: -100
Wrong Answer
time: 1ms
memory: 3712kb

input:

1000
ROUND 1000 436
ROUND 1000 248
ROUND 1496 330
ROUND 2156 246
ROUND 2648 626
ROUND 3900 237
ROUND 4374 2608
ROUND 4374 3095
ROUND 4374 4180
ROUND 4374 1853
ROUND 4374 3414
ROUND 4374 4091
ROUND 4374 2076
ROUND 4374 2272
ROUND 4374 1716
ROUND 2658 1954
ROUND 2658 54
ROUND 2604 2408
ROUND 2604 1718...

output:

SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
...

result:

wrong answer WA