QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#869966#8619. Interactive Casinoucup-team5150#AC ✓3ms3968kbC++201.8kb2025-01-25 14:08:312025-01-25 14:08:31

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3968kb

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: 0ms
memory: 3968kb

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 763 345
ROUND 763 266
ROUND 763 177
ROUND 1117 1044
ROUND 1117 228
ROUND 889 804
ROUND 889 371
ROUND 889 349
ROUND 889 503
ROUND 889...

output:

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

result:

ok OK

Test #3:

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

input:

1000
ROUND 1000 13
ROUND 1026 402
ROUND 1026 653
ROUND 1026 538
ROUND 1026 333
ROUND 693 501
ROUND 693 260
ROUND 693 126
ROUND 567 470
ROUND 567 149
ROUND 418 210
ROUND 418 90
ROUND 328 118
ROUND 328 256
ROUND 328 94
ROUND 234 65
ROUND 364 225
ROUND 364 339
ROUND 364 67
ROUND 498 105
ROUND 393 248
R...

output:

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

result:

ok OK

Test #4:

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

input:

1000
ROUND 1000 589
ROUND 1000 55
ROUND 1110 406
ROUND 1110 211
ROUND 899 697
ROUND 899 562
ROUND 899 246
ROUND 653 299
ROUND 653 413
ROUND 653 181
ROUND 1015 570
ROUND 1015 52
ROUND 1119 725
ROUND 1119 61
ROUND 1241 1092
ROUND 1241 118
ROUND 1123 485
ROUND 1123 86
ROUND 1037 874
ROUND 1037 143
ROUN...

output:

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

result:

ok OK

Test #5:

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

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

result:

ok OK

Test #6:

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

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 1010 194
ROUND 1398 91
ROUND 1580 495
ROUND 1085 13
ROUND 1111 246
ROUND 865 347
ROUND 865 245
ROUND 620 45
ROUND 710 706
ROUND 710 118
RO...

output:

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

result:

ok OK

Test #7:

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

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

result:

ok OK

Test #8:

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

input:

1000
ROUND 1000 893
ROUND 1000 277
ROUND 723 93
ROUND 630 233
ROUND 630 90
ROUND 540 503
ROUND 540 193
ROUND 540 42
ROUND 624 217
ROUND 624 16
ROUND 656 403
ROUND 656 119
ROUND 894 381
ROUND 894 230
ROUND 1354 754
ROUND 1354 631
ROUND 1354 1351
ROUND 1354 556
ROUND 1354 133
ROUND 1620 722
ROUND 1620...

output:

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

result:

ok OK

Test #9:

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

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 1011 677
ROUND 1011 373
ROUND 1011 450
ROUND 1011 148
ROUND 1307 703
ROUND 1307 52
ROUND 1411 483
ROUND 1411 467
ROUND 2345 1571
ROUND 2345 1842
ROUND 23...

output:

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

result:

ok OK

Test #10:

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

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


result:

ok OK

Test #11:

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

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

result:

ok OK

Test #12:

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

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 1006 650
ROUND 1006 214
ROUND 1434 247
ROUND 1928 278
ROUND 1650 913
ROUND 1650 1479
ROUND 1650 629
ROUND 1650 287
ROUND 1363 480
ROUND 1363 1349
ROUND 136...

output:

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

result:

ok OK

Test #13:

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

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 295 260
ROUND 295 181
ROUND 295 212
ROUND 295 128
ROUND 295 168
ROUND 295 139
ROUND 295 252
ROUND 295 21
ROUND 337 167
ROUND 337 280
ROUND 337 79
ROUND 495 437
ROUND 495 84
ROU...

output:

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

result:

ok OK

Test #14:

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

input:

1000
ROUND 1000 446
ROUND 1000 566
ROUND 1000 348
ROUND 1000 245
ROUND 1490 773
ROUND 1490 492
ROUND 2474 2416
ROUND 2474 1404
ROUND 2474 499
ROUND 1975 409
ROUND 2793 2487
ROUND 2793 2120
ROUND 2793 2135
ROUND 2793 253
ROUND 3299 3143
ROUND 3299 725
ROUND 2574 1074
ROUND 2574 1670
ROUND 2574 516
RO...

output:

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

result:

ok OK

Test #15:

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

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


result:

ok OK

Test #16:

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

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 312 298
ROUND 312 39
ROUND 390 310
ROUND 390 285
ROUND...

output:

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

result:

ok OK

Test #17:

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

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 1045 884
ROUND 1045 822
ROUND 1045 867
ROUND 1045 507
ROUND 1045 609
ROUND 1045 232
ROUND 813 714
ROUND...

output:

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

result:

ok OK

Test #18:

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

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

result:

ok OK

Test #19:

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

input:

1000
ROUND 1000 318
ROUND 1636 1211
ROUND 1636 1003
ROUND 1636 1621
ROUND 1636 862
ROUND 1636 603
ROUND 1636 307
ROUND 1329 815
ROUND 1329 446
ROUND 1329 716
ROUND 1329 773
ROUND 1329 69
ROUND 1467 347
ROUND 2161 6
ROUND 2173 842
ROUND 2173 1170
ROUND 2173 650
ROUND 1523 41
ROUND 1605 902
ROUND 1605...

output:

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

result:

ok OK

Test #20:

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

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 1239 702
ROUND 1239 1200
ROUND 1239 24
ROUND 1287 1094
ROUND 1287 645
ROUND 1287 1176
ROUND 1287 319
ROUND 1925 ...

output:

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

result:

ok OK

Test #21:

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

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

result:

ok OK

Test #22:

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

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

result:

ok OK

Test #23:

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

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 569 465
R...

output:

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

result:

ok OK

Test #24:

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

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 803 366
ROUND 803 114
ROUND 1031 184
ROUND 1399 156
ROUND 1711 306
ROUND 2323 1090
ROUND 2323 1961
ROUND 2323 649
ROUND 1674 939
ROUND 1674 228
ROUND 2130 ...

output:

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

result:

ok OK

Test #25:

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

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 1492 961
ROUND 1492 413
ROUND 23...

output:

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

result:

ok OK

Test #26:

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

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

result:

ok OK

Test #27:

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

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

result:

ok OK

Test #28:

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

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

result:

ok OK

Test #29:

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

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 1516 1038
ROUND 1516 713
ROUND 1516 5...

output:

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

result:

ok OK

Test #30:

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

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

result:

ok OK

Test #31:

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

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

result:

ok OK

Test #32:

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

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
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
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 #33:

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

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 1465 1251
ROUND 1465 319
ROUND 1146 184
ROUND 962 530
ROUND 962 728
ROUND 962 296
ROUND 666 213
ROUND 453 47
ROUND 406 112
ROUND 630 360
...

output:

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

result:

ok OK

Test #34:

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

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 1660 920
ROUND 1660 470
ROUND 2600 1941
ROUND 2600 1506
ROUND 2600 2546
ROUND 2600 1834
ROUND 2600 2006
ROUND 2600 2396
ROUND 2600 390
ROUND 3380 1319
ROUND 3380 1238
RO...

output:

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

result:

ok OK

Test #35:

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

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: 0ms
memory: 3712kb

input:

1000
ROUND 1000 684
ROUND 1000 411
ROUND 1000 362
ROUND 1000 284
ROUND 1568 1370
ROUND 1568 1085
ROUND 1568 50
ROUND 1518 645
ROUND 1518 197
ROUND 1321 113
ROUND 1547 862
ROUND 1547 315
ROUND 2177 1450
ROUND 2177 1773
ROUND 2177 1289
ROUND 2177 2000
ROUND 2177 900
ROUND 2177 739
ROUND 2177 492
ROUND...

output:

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


result:

ok OK

Test #37:

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

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

result:

ok OK

Test #38:

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

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

result:

ok OK

Test #39:

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

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

result:

ok OK

Test #40:

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

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 1870 656
ROUND 1870 1678
ROUND 1870 1113
R...

output:

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

result:

ok OK

Test #41:

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

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 958 182
ROUND 1322 1218
ROUND 1322 354
ROUND 968 69
ROUND 899 629...

output:

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

result:

ok OK

Test #42:

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

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 800 610
ROUND 800 234
ROUND 566 129
ROUND 824 699
ROUND 824 560
ROUND 824 69
ROUND 962 632
ROUND 962 762
ROUND...

output:

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

result:

ok OK

Test #43:

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

input:

1000
ROUND 1000 307
ROUND 693 380
ROUND 693 641
ROUND 693 272
ROUND 693 282
ROUND 693 257
ROUND 693 12
ROUND 681 113
ROUND 568 557
ROUND 568 442
ROUND 568 428
ROUND 568 563
ROUND 568 377
ROUND 568 474
ROUND 568 437
ROUND 568 180
ROUND 928 48
ROUND 1024 573
ROUND 1024 617
ROUND 1024 527
ROUND 1024 53...

output:

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

result:

ok OK

Test #44:

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

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 641 212
ROUND 429 132
ROUND 297 35
RO...

output:

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

result:

ok OK

Test #45:

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

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 1175 1010
ROUND 1175 1050
ROUND 1175...

output:

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

result:

ok OK

Test #46:

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

input:

1000
ROUND 1000 836
ROUND 1000 730
ROUND 1000 791
ROUND 1000 873
ROUND 1000 349
ROUND 1000 849
ROUND 1000 305
ROUND 695 576
ROUND 695 80
ROUND 615 576
ROUND 615 516
ROUND 615 268
ROUND 615 94
ROUND 521 97
ROUND 424 208
ROUND 424 83
ROUND 341 258
ROUND 341 149
ROUND 341 265
ROUND 341 286
ROUND 341 24...

output:

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

result:

ok OK

Test #47:

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

input:

1000
ROUND 1000 812
ROUND 1000 559
ROUND 1000 348
ROUND 1000 202
ROUND 1404 519
ROUND 1404 402
ROUND 1002 977
ROUND 1002 801
ROUND 1002 870
ROUND 1002 557
ROUND 1002 165
ROUND 1332 136
ROUND 1604 378
ROUND 2360 670
ROUND 3700 287
ROUND 3413 1188
ROUND 3413 707
ROUND 4827 3918
ROUND 4827 510
ROUND 58...

output:

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

result:

ok OK

Test #48:

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

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

result:

ok OK

Test #49:

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

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: 0
Accepted
time: 0ms
memory: 3968kb

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 3108 25...

output:

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


result:

ok OK

Test #51:

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

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 1248 575
ROUND 1248 412
ROUND 836 211
ROUND 625 512
ROUND 625 137
ROUND 488 324
ROUND 488 224
R...

output:

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

result:

ok OK

Extra Test:

score: 0
Extra Test Passed