QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#869927#8619. Interactive Casinoucup-team3634#AC ✓2ms3712kbC++1741.0kb2025-01-25 13:57:112025-01-25 13:57:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
ROUND 1000 43
ROUND 1000 546
ROUND 1000 809
ROUND 1000 759
ROUND 1000 889
WIN

output:

SKIP
SKIP
SKIP
SKIP
SKIP

result:

ok OK

Test #2:

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

input:

1000
ROUND 1000 741
ROUND 1000 70
ROUND 1140 976
ROUND 1140 955
ROUND 1140 667
ROUND 1140 372
ROUND 1140 898
ROUND 1140 1078
ROUND 1140 813
ROUND 1140 785
ROUND 1140 820
ROUND 1140 929
ROUND 1140 562
ROUND 1140 399
ROUND 1140 313
ROUND 1140 804
ROUND 1140 611
ROUND 1140 237
ROUND 903 865
ROUND 903 7...

output:

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

result:

ok OK

Test #3:

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

input:

1000
ROUND 1000 13
ROUND 1026 402
ROUND 1026 653
ROUND 1026 538
ROUND 1026 333
ROUND 1026 2
ROUND 1024 413
ROUND 1024 864
ROUND 1024 396
ROUND 1024 287
ROUND 1024 700
ROUND 1024 374
ROUND 1024 68
ROUND 956 256
ROUND 956 778
ROUND 956 412
ROUND 956 670
ROUND 956 498
ROUND 956 903
ROUND 956 793
ROUND ...

output:

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

result:

ok OK

Test #4:

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

input:

1000
ROUND 1000 589
ROUND 1000 55
ROUND 1110 406
ROUND 1110 211
ROUND 899 697
ROUND 899 562
ROUND 899 246
ROUND 899 829
ROUND 899 854
ROUND 899 13
ROUND 886 509
ROUND 886 315
ROUND 886 293
ROUND 886 779
ROUND 886 208
ROUND 1302 519
ROUND 1302 333
ROUND 1302 505
ROUND 1302 156
ROUND 1146 134
ROUND 10...

output:

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

result:

ok OK

Test #5:

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

input:

1000
ROUND 1000 765
ROUND 1000 729
ROUND 1000 358
ROUND 1000 667
ROUND 1000 351
ROUND 1000 8
ROUND 992 142
ROUND 850 660
ROUND 850 488
ROUND 850 507
ROUND 850 814
ROUND 850 488
ROUND 850 460
ROUND 850 656
ROUND 850 797
ROUND 850 129
ROUND 1108 657
ROUND 1108 378
ROUND 1108 520
ROUND 1108 589
ROUND 1...

output:

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

result:

ok OK

Test #6:

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

input:

1000
ROUND 1000 637
ROUND 1000 885
ROUND 1000 909
ROUND 1000 190
ROUND 1380 467
ROUND 1380 991
ROUND 1380 786
ROUND 1380 1240
ROUND 1380 608
ROUND 1380 370
ROUND 1380 986
ROUND 1380 244
ROUND 1868 319
ROUND 2506 1661
ROUND 2506 2254
ROUND 2506 461
ROUND 3428 1254
ROUND 3428 1742
ROUND 3428 2092
ROUN...

output:

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

result:

ok OK

Test #7:

score: 0
Accepted
time: 1ms
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 1182 779
ROUND 1182 265
ROUND 1712 1460
ROUND 1712...

output:

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

result:

ok OK

Test #8:

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

input:

1000
ROUND 1000 893
ROUND 1000 277
ROUND 1000 912
ROUND 1000 849
ROUND 1000 604
ROUND 1000 273
ROUND 1000 610
ROUND 1000 466
ROUND 1000 923
ROUND 1000 393
ROUND 1000 982
ROUND 1000 97
ROUND 1194 226
ROUND 1646 305
ROUND 2256 591
ROUND 2256 1797
ROUND 2256 458
ROUND 3172 2734
ROUND 3172 1631
ROUND 31...

output:

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

result:

ok OK

Test #9:

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

input:

1000
ROUND 1000 364
ROUND 1000 951
ROUND 1000 648
ROUND 1000 861
ROUND 1000 233
ROUND 1466 977
ROUND 1466 1304
ROUND 1466 546
ROUND 1466 455
ROUND 1466 1334
ROUND 1466 269
ROUND 2004 1233
ROUND 2004 982
ROUND 2004 717
ROUND 2004 31
ROUND 1973 1848
ROUND 1973 533
ROUND 1973 468
ROUND 2909 2571
ROUND ...

output:

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

result:

ok OK

Test #10:

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

input:

1000
ROUND 1000 236
ROUND 1472 1070
ROUND 1472 391
ROUND 1472 139
ROUND 1333 1272
ROUND 1333 226
ROUND 1785 1334
ROUND 1785 1208
ROUND 1785 1730
ROUND 1785 751
ROUND 1785 1619
ROUND 1785 715
ROUND 1785 623
ROUND 1785 268
ROUND 2321 1626
ROUND 2321 316
ROUND 2005 1502
ROUND 2005 1347
ROUND 2005 1278
...

output:

PLAY
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
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
...

result:

ok OK

Test #11:

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

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 540 460
ROUND 540 76
ROUND 692 636
ROUND 692 29
ROUND 750 143
ROUND 607 262
ROUND 607 372
ROUND 607 529
ROUND 607 409
ROU...

output:

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

result:

ok OK

Test #12:

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

input:

1000
ROUND 1000 788
ROUND 1000 900
ROUND 1000 801
ROUND 1000 531
ROUND 1000 486
ROUND 1000 486
ROUND 1000 292
ROUND 1000 810
ROUND 1000 85
ROUND 1170 361
ROUND 1170 368
ROUND 1170 306
ROUND 1170 749
ROUND 1170 973
ROUND 1170 175
ROUND 995 164
ROUND 1323 882
ROUND 1323 176
ROUND 1675 934
ROUND 1675 2...

output:

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

result:

ok OK

Test #13:

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

input:

1000
ROUND 1000 166
ROUND 834 262
ROUND 834 788
ROUND 834 202
ROUND 632 186
ROUND 632 119
ROUND 870 635
ROUND 870 682
ROUND 870 807
ROUND 870 115
ROUND 755 752
ROUND 755 358
ROUND 755 103
ROUND 652 473
ROUND 652 444
ROUND 652 403
ROUND 652 102
ROUND 856 11
ROUND 878 801
ROUND 878 698
ROUND 878 765
R...

output:

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

result:

ok OK

Test #14:

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

input:

1000
ROUND 1000 446
ROUND 1000 566
ROUND 1000 348
ROUND 1000 245
ROUND 1490 773
ROUND 1490 492
ROUND 1490 589
ROUND 1490 1168
ROUND 1490 1002
ROUND 1490 1043
ROUND 1490 1224
ROUND 1490 624
ROUND 1490 525
ROUND 1490 282
ROUND 2054 157
ROUND 1897 249
ROUND 2395 865
ROUND 2395 2047
ROUND 2395 686
ROUND...

output:

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

result:

ok OK

Test #15:

score: 0
Accepted
time: 0ms
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 1330 869
ROUND 1330 351
ROUND 1330 1097
ROUND 1330 1291
ROUND 1330 993
ROUND 1330 276
ROUND 1882 1573
ROUND 1882 1103
ROUND 1882 999
ROUND 1882 1144
ROUND 1882 299
ROUND...

output:

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

result:

ok OK

Test #16:

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

input:

1000
ROUND 1000 294
ROUND 1000 550
ROUND 1000 648
ROUND 1000 96
ROUND 904 213
ROUND 1330 475
ROUND 1330 42
ROUND 1414 638
ROUND 1414 581
ROUND 1414 1389
ROUND 1414 994
ROUND 1414 114
ROUND 1642 50
ROUND 1592 1511
ROUND 1592 1373
ROUND 1592 1324
ROUND 1592 132
ROUND 1460 514
ROUND 1460 510
ROUND 1460...

output:

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

result:

ok OK

Test #17:

score: 0
Accepted
time: 1ms
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 935 130
ROUND 805 152
ROUND 653 196
ROUND 653 179
ROUND 653 581
ROUND 653 15
ROUND 683 154
ROUND 529 505
ROUND 529 224
ROUND 529 258
ROUND 529 41...

output:

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

result:

ok OK

Test #18:

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

input:

1000
ROUND 1000 341
ROUND 1000 84
ROUND 916 902
ROUND 916 904
ROUND 916 620
ROUND 916 733
ROUND 916 159
ROUND 757 702
ROUND 757 336
ROUND 757 716
ROUND 757 519
ROUND 757 129
ROUND 1015 490
ROUND 1015 417
ROUND 1015 66
ROUND 1147 98
ROUND 1049 611
ROUND 1049 475
ROUND 1049 222
ROUND 827 593
ROUND 827...

output:

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

result:

ok OK

Test #19:

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

input:

1000
ROUND 1000 318
ROUND 1000 425
ROUND 1000 603
ROUND 1000 63
ROUND 1126 1004
ROUND 1126 761
ROUND 1126 199
ROUND 927 173
ROUND 1273 232
ROUND 1041 891
ROUND 1041 1025
ROUND 1041 14
ROUND 1069 795
ROUND 1069 381
ROUND 1069 734
ROUND 1069 1
ROUND 1068 518
ROUND 1068 1053
ROUND 1068 191
ROUND 1450 5...

output:

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

result:

ok OK

Test #20:

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

input:

1000
ROUND 1000 893
ROUND 1000 581
ROUND 1000 345
ROUND 1000 586
ROUND 1000 731
ROUND 1000 441
ROUND 1000 924
ROUND 1000 419
ROUND 1000 177
ROUND 823 506
ROUND 823 315
ROUND 823 208
ROUND 823 533
ROUND 823 183
ROUND 640 392
ROUND 640 283
ROUND 640 575
ROUND 640 602
ROUND 640 266
ROUND 640 245
ROUND ...

output:

SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
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 1208 1020
ROUND 1208 12
ROUND 1196 282
ROUND 1760 140
ROUND 1620 1077
ROUND 1620 ...

output:

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

result:

ok OK

Test #22:

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

input:

1000
ROUND 1000 941
ROUND 1000 707
ROUND 1000 39
ROUND 961 899
ROUND 961 108
ROUND 853 652
ROUND 853 218
ROUND 853 82
ROUND 771 198
ROUND 771 502
ROUND 771 81
ROUND 933 689
ROUND 933 728
ROUND 933 80
ROUND 853 516
ROUND 853 515
ROUND 853 496
ROUND 853 56
ROUND 797 209
ROUND 797 603
ROUND 797 672
ROU...

output:

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

result:

ok OK

Test #23:

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

input:

1000
ROUND 1000 917
ROUND 1000 240
ROUND 760 441
ROUND 760 259
ROUND 760 679
ROUND 760 582
ROUND 760 63
ROUND 697 343
ROUND 697 562
ROUND 697 238
ROUND 697 591
ROUND 697 609
ROUND 697 66
ROUND 829 666
ROUND 829 568
ROUND 829 707
ROUND 829 750
ROUND 829 655
ROUND 829 671
ROUND 829 260
ROUND 829 394
R...

output:

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

result:

ok OK

Test #24:

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

input:

1000
ROUND 1000 789
ROUND 1000 395
ROUND 1000 338
ROUND 1000 779
ROUND 1000 101
ROUND 899 113
ROUND 1125 943
ROUND 1125 559
ROUND 1125 322
ROUND 1125 400
ROUND 1125 756
ROUND 1125 865
ROUND 1125 383
ROUND 1125 22
ROUND 1169 449
ROUND 1169 743
ROUND 1169 688
ROUND 1169 667
ROUND 1169 634
ROUND 1169 2...

output:

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

result:

ok OK

Test #25:

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

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 960 35
ROUND 925 713
ROUND 925 587
ROUND 925 472
ROUND 925 226
ROUND 1377 322
ROUND 1055 900
RO...

output:

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

result:

ok OK

Test #26:

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

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 1212 140
ROUND 1492 1102
ROUND 1492 1252
ROUND 1492 889
ROUND 1492 718
ROUND 1492 694
ROUND 1492 1484
ROUND 1492 987
ROUND 1492 392
ROUND...

output:

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

result:

ok OK

Test #27:

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

input:

1000
ROUND 1000 517
ROUND 1000 758
ROUND 1000 781
ROUND 1000 450
ROUND 1000 533
ROUND 1000 324
ROUND 1000 761
ROUND 1000 311
ROUND 1000 464
ROUND 1000 762
ROUND 1000 616
ROUND 1000 77
ROUND 923 679
ROUND 923 573
ROUND 923 530
ROUND 923 489
ROUND 923 665
ROUND 923 905
ROUND 923 422
ROUND 923 782
ROUN...

output:

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

result:

ok OK

Test #28:

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

input:

1000
ROUND 1000 389
ROUND 1000 914
ROUND 1000 36
ROUND 1072 447
ROUND 1072 635
ROUND 1072 785
ROUND 1072 947
ROUND 1072 957
ROUND 1072 444
ROUND 1072 33
ROUND 1138 58
ROUND 1254 917
ROUND 1254 764
ROUND 1254 261
ROUND 993 145
ROUND 1283 1092
ROUND 1283 82
ROUND 1201 491
ROUND 1201 1101
ROUND 1201 21...

output:

SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
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 944 929
ROUND 944 615
ROUND 944 286
ROUND 944 631
ROUND 944 722
ROUND 944 113
R...

output:

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

result:

ok OK

Test #30:

score: 0
Accepted
time: 1ms
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 551 146
ROUND 551 211
ROUND 551 382
ROUND 551 146
ROUND 551 43
ROUND 637 366
ROUND 637 539
ROUND 637 315
ROUND 637 250
RO...

output:

PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
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 1424 806
ROUND 1424 778
ROUND 1424 1174
ROUND 1424 1244
ROUND 1424 208
ROUND 1840 41
ROUND 1922 1237
ROUND 1922 151
ROUND 1771 997
ROUND 1771 1504
ROUND 1771 1574
ROUND 1771 1498
ROUND 1771 1734
ROUND 1771 419
ROUND 2609 1164
RO...

output:

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

result:

ok OK

Test #32:

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

input:

1000
ROUND 1000 84
ROUND 916 612
ROUND 916 646
ROUND 916 243
ROUND 916 850
ROUND 916 190
ROUND 726 318
ROUND 726 456
ROUND 726 529
ROUND 726 507
ROUND 726 392
ROUND 726 438
ROUND 726 150
ROUND 1026 901
ROUND 1026 621
ROUND 1026 471
ROUND 1026 32
ROUND 994 924
ROUND 994 531
ROUND 994 936
ROUND 994 34...

output:

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

result:

ok OK

Test #33:

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

input:

1000
ROUND 1000 259
ROUND 1000 271
ROUND 1000 104
ROUND 896 651
ROUND 896 66
ROUND 830 668
ROUND 830 97
ROUND 1024 745
ROUND 1024 939
ROUND 1024 63
ROUND 961 149
ROUND 812 264
ROUND 812 734
ROUND 812 140
ROUND 672 12
ROUND 660 309
ROUND 660 460
ROUND 660 245
ROUND 660 374
ROUND 660 370
ROUND 660 103...

output:

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

result:

ok OK

Test #34:

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

input:

1000
ROUND 1000 835
ROUND 1000 426
ROUND 1000 358
ROUND 1000 624
ROUND 1000 926
ROUND 1000 385
ROUND 1000 798
ROUND 1000 330
ROUND 1000 491
ROUND 1000 220
ROUND 780 131
ROUND 1042 1022
ROUND 1042 222
ROUND 820 6
ROUND 814 580
ROUND 814 571
ROUND 814 735
ROUND 814 160
ROUND 654 107
ROUND 547 545
ROUN...

output:

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

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 925 161
ROUND 764 678
ROUND 764 47
ROUND 858 590
ROUND 858 774
ROUND 858 586
ROUND 858 167
ROUND 691 37
ROUND 765 12
ROUND 753 343
ROUND 753 258
ROUND 753 509
ROUND 753 377
ROUND 753 665
ROUND 753 104
ROUND 649 62
ROUND 773 410
ROU...

output:

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

result:

ok OK

Test #36:

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

input:

1000
ROUND 1000 684
ROUND 1000 411
ROUND 1000 362
ROUND 1000 284
ROUND 1000 537
ROUND 1000 426
ROUND 1000 661
ROUND 1000 10
ROUND 990 249
ROUND 990 593
ROUND 990 682
ROUND 990 595
ROUND 990 417
ROUND 990 214
ROUND 1418 917
ROUND 1418 954
ROUND 1418 584
ROUND 1418 161
ROUND 1257 589
ROUND 1257 120
RO...

output:

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

result:

ok OK

Test #37:

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

input:

1000
ROUND 1000 155
ROUND 1310 51
ROUND 1259 1248
ROUND 1259 1047
ROUND 1259 327
ROUND 1259 1050
ROUND 1259 776
ROUND 1259 144
ROUND 1547 127
ROUND 1420 63
ROUND 1546 259
ROUND 2064 913
ROUND 2064 288
ROUND 2640 1018
ROUND 2640 1273
ROUND 2640 504
ROUND 3648 2641
ROUND 3648 1049
ROUND 3648 429
ROUND...

output:

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

result:

ok OK

Test #38:

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

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 726 447
ROUND 726 142
ROUND 584 413
ROUND 584 135
ROUND 449 50
ROUND 399 202
ROUND 399 376
ROUND 399 172
R...

output:

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

result:

ok OK

Test #39:

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

input:

1000
ROUND 1000 707
ROUND 1000 582
ROUND 1000 101
ROUND 1202 638
ROUND 1202 1036
ROUND 1202 1115
ROUND 1202 410
ROUND 1202 698
ROUND 1202 138
ROUND 1064 835
ROUND 1064 947
ROUND 1064 497
ROUND 1064 407
ROUND 1064 1045
ROUND 1064 884
ROUND 1064 1022
ROUND 1064 468
ROUND 1064 787
ROUND 1064 1027
ROUND...

output:

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

result:

ok OK

Test #40:

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

input:

1000
ROUND 1000 283
ROUND 1000 737
ROUND 1000 547
ROUND 1000 773
ROUND 1000 419
ROUND 1000 639
ROUND 1000 832
ROUND 1000 354
ROUND 1000 668
ROUND 1000 560
ROUND 1000 51
ROUND 949 456
ROUND 949 426
ROUND 949 464
ROUND 949 199
ROUND 1347 488
ROUND 1347 479
ROUND 1347 1097
ROUND 1347 1252
ROUND 1347 11...

output:

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

result:

ok OK

Test #41:

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

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 1361 825
ROUND 1361 767
ROUND 1361 743
ROUND 1361 14
ROUND 1389 974
ROUND 1389 614
ROUND 1389 431
ROUND 1389 1159
ROUND 1389 71
ROUND 1531 225
ROUND 1306 1054
ROUND 1306...

output:

SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
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 1184 644
ROUND 1184 778
ROUND 1184 656
ROUND 1184 1122
ROUND 1184 469
ROUND 1184 910
ROUND 1184 979
ROUND 1184 384
ROUND 1184 722
ROUND 1184 514
ROUND 1184 202
ROUND 982 641
ROUND 982 669
ROUND 982 889
ROUND 982 462
ROUND 982 251
R...

output:

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

result:

ok OK

Test #43:

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

input:

1000
ROUND 1000 307
ROUND 1000 100
ROUND 900 740
ROUND 900 254
ROUND 900 21
ROUND 879 195
ROUND 684 29
ROUND 655 629
ROUND 655 88
ROUND 567 140
ROUND 847 604
ROUND 847 772
ROUND 847 386
ROUND 847 331
ROUND 847 175
ROUND 1197 1180
ROUND 1197 179
ROUND 1555 1245
ROUND 1555 82
ROUND 1719 449
ROUND 1719...

output:

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

result:

ok OK

Test #44:

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

input:

1000
ROUND 1000 883
ROUND 1000 552
ROUND 1000 244
ROUND 1488 820
ROUND 1488 980
ROUND 1488 419
ROUND 1488 1074
ROUND 1488 871
ROUND 1488 127
ROUND 1361 498
ROUND 1361 525
ROUND 1361 933
ROUND 1361 705
ROUND 1361 998
ROUND 1361 248
ROUND 1113 44
ROUND 1201 1115
ROUND 1201 266
ROUND 935 307
ROUND 935 ...

output:

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

result:

ok OK

Test #45:

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

input:

1000
ROUND 1000 964
ROUND 1000 574
ROUND 1000 345
ROUND 1000 55
ROUND 945 688
ROUND 945 843
ROUND 945 58
ROUND 887 508
ROUND 887 738
ROUND 887 402
ROUND 887 736
ROUND 887 610
ROUND 887 48
ROUND 983 356
ROUND 983 220
ROUND 763 421
ROUND 763 696
ROUND 763 206
ROUND 763 492
ROUND 763 320
ROUND 763 735
...

output:

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

result:

ok OK

Test #46:

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

input:

1000
ROUND 1000 836
ROUND 1000 730
ROUND 1000 791
ROUND 1000 873
ROUND 1000 349
ROUND 1000 849
ROUND 1000 305
ROUND 1000 986
ROUND 1000 41
ROUND 959 929
ROUND 959 7
ROUND 952 891
ROUND 952 631
ROUND 952 768
ROUND 952 439
ROUND 952 704
ROUND 952 624
ROUND 952 931
ROUND 952 10
ROUND 972 398
ROUND 972 ...

output:

SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
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 1000 202
ROUND 1404 519
ROUND 1404 402
ROUND 1404 726
ROUND 1404 1271
ROUND 1404 765
ROUND 1404 900
ROUND 1404 767
ROUND 1404 1161
ROUND 1404 795
ROUND 1404 280
ROUND 1964 566
ROUND 1964 1327
ROUND 1964 1370
ROUND 1964 313
ROUND 2590 1810
ROUND...

output:

SKIP
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
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
...

result:

ok OK

Test #48:

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

input:

1000
ROUND 1000 388
ROUND 1000 418
ROUND 1000 795
ROUND 1000 20
ROUND 980 811
ROUND 980 363
ROUND 980 402
ROUND 980 360
ROUND 980 94
ROUND 1168 468
ROUND 1168 615
ROUND 1168 1094
ROUND 1168 685
ROUND 1168 1034
ROUND 1168 868
ROUND 1168 925
ROUND 1168 228
ROUND 940 379
ROUND 940 468
ROUND 940 568
ROU...

output:

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

result:

ok OK

Test #49:

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

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 1447 1113
ROUND 1447 426
ROUND 1447 708
ROUND 1447 326
ROUND 1121 611
ROUND 1121 265
ROUND 856 171
ROUND 685 280
ROUND 685 513
ROUND 685 136
RO...

output:

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

result:

ok OK

Test #50:

score: 0
Accepted
time: 0ms
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 4374 4220
ROUND 4374 4066
ROUND 4374 1266
ROUND 4374 44...

output:

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

result:

ok OK

Test #51:

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

input:

1000
ROUND 1000 412
ROUND 1000 77
ROUND 923 892
ROUND 923 157
ROUND 766 23
ROUND 743 458
ROUND 743 290
ROUND 743 441
ROUND 743 41
ROUND 702 116
ROUND 586 97
ROUND 780 582
ROUND 780 754
ROUND 780 234
ROUND 780 517
ROUND 780 107
ROUND 673 537
ROUND 673 157
ROUND 516 375
ROUND 516 212
ROUND 516 416
ROU...

output:

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

result:

ok OK

Extra Test:

score: 0
Extra Test Passed