QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#872667#8619. Interactive Casinoucup-team2670#AC ✓2833ms163968kbC++205.3kb2025-01-26 03:27:132025-01-26 03:27:13

详细

Test #1:

score: 100
Accepted
time: 2820ms
memory: 163968kb

input:

5
ROUND 1000 43
ROUND 957 433
ROUND 1823 973
ROUND 850 731
ROUND 850 458
WIN

output:

PLAY
PLAY
PLAY
SKIP
SKIP

result:

ok OK

Test #2:

score: 0
Accepted
time: 2814ms
memory: 163968kb

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

result:

ok OK

Test #3:

score: 0
Accepted
time: 2810ms
memory: 163968kb

input:

1000
ROUND 1000 13
ROUND 1026 402
ROUND 1830 1408
ROUND 1830 81
ROUND 1749 1458
ROUND 1749 722
ROUND 1027 958
ROUND 1027 115
ROUND 912 118
ROUND 794 664
ROUND 794 400
ROUND 794 114
ROUND 680 446
ROUND 680 574
ROUND 680 595
ROUND 680 569
ROUND 680 617
ROUND 680 639
ROUND 680 251
ROUND 1182 411
ROUND ...

output:

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

result:

ok OK

Test #4:

score: 0
Accepted
time: 2814ms
memory: 163968kb

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

result:

ok OK

Test #5:

score: 0
Accepted
time: 2820ms
memory: 163968kb

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

result:

ok OK

Test #6:

score: 0
Accepted
time: 2833ms
memory: 163952kb

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 3649 1856
ROUND 3649 480
ROUND...

output:

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

result:

ok OK

Test #7:

score: 0
Accepted
time: 2825ms
memory: 163968kb

input:

1000
ROUND 1000 613
ROUND 1000 418
ROUND 582 307
ROUND 582 230
ROUND 352 313
ROUND 352 54
ROUND 460 335
ROUND 460 101
ROUND 662 85
ROUND 832 312
ROUND 520 2
ROUND 524 431
ROUND 524 455
ROUND 524 503
ROUND 524 140
ROUND 384 140
ROUND 664 490
ROUND 664 460
ROUND 664 531
ROUND 664 129
ROUND 922 206
ROU...

output:

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

result:

ok OK

Test #8:

score: 0
Accepted
time: 2819ms
memory: 163968kb

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 3675 325
ROUND 4325 124
ROUND 4201 2605
ROUND 4201 906
ROUND 3295 198
ROUND 3097 776
ROUND ...

output:

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

result:

ok OK

Test #9:

score: 0
Accepted
time: 2827ms
memory: 163968kb

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 6335 5181
ROUND 6335 1397
ROUND 6335 5660
ROUND 6335 5169
ROUND 6335 685
ROUND 6335 884
ROUND 6335 5355
ROUND 6335 34
ROUND 6301 2932
ROUND 6301 4488
ROUND 6301 3197
R...

output:

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

result:

ok OK

Test #10:

score: 0
Accepted
time: 2822ms
memory: 163968kb

input:

1000
ROUND 1000 236
ROUND 1472 1070
ROUND 1472 391
ROUND 2254 1348
ROUND 2254 1814
ROUND 2254 266
ROUND 2786 1131
ROUND 1655 1050
ROUND 1655 1651
ROUND 1655 1334
ROUND 1655 825
ROUND 1655 108
ROUND 1871 1227
ROUND 1871 1351
ROUND 1871 389
ROUND 1482 826
ROUND 1482 119
ROUND 1363 328
ROUND 1035 894
R...

output:

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

result:

ok OK

Test #11:

score: 0
Accepted
time: 2818ms
memory: 163968kb

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

result:

ok OK

Test #12:

score: 0
Accepted
time: 2813ms
memory: 163968kb

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

result:

ok OK

Test #13:

score: 0
Accepted
time: 2814ms
memory: 163936kb

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 417 176
ROUND 417 378
ROUND 417 9
ROUND 435 430
ROUND 435 158
ROUND 751 459
ROUND 751 507
ROUND 751 170
ROUND 1091 1011
ROUND 1091 331
ROUND 1753 103...

output:

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

result:

ok OK

Test #14:

score: 0
Accepted
time: 2811ms
memory: 163840kb

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

result:

ok OK

Test #15:

score: 0
Accepted
time: 2818ms
memory: 163968kb

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 1857 1438
ROUND 1857 1094
ROUND 1857 1494
ROUND 1857 558
ROUND 1299 434
ROUND 2167 355
ROUND 2877 2444
ROUND 2877 1031
ROU...

output:

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

result:

ok OK

Test #16:

score: 0
Accepted
time: 2811ms
memory: 163968kb

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

result:

ok OK

Test #17:

score: 0
Accepted
time: 2818ms
memory: 163968kb

input:

1000
ROUND 1000 765
ROUND 1000 224
ROUND 1448 324
ROUND 1124 189
ROUND 935 380
ROUND 1695 611
ROUND 1084 999
ROUND 1084 1084
ROUND 1084 1015
ROUND 1084 954
ROUND 1084 367
ROUND 717 360
ROUND 717 337
ROUND 717 356
ROUND 717 56
ROUND 829 751
ROUND 829 396
ROUND 829 817
ROUND 829 584
ROUND 829 267
ROUN...

output:

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

result:

ok OK

Test #18:

score: 0
Accepted
time: 2821ms
memory: 163944kb

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

result:

ok OK

Test #19:

score: 0
Accepted
time: 2825ms
memory: 163712kb

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: 2815ms
memory: 163968kb

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 1193 79
ROUND 1351 350
ROUND 1001 703
ROUND 1001 852
ROUND 1001 759
ROUND 1001 477
ROUND ...

output:

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

result:

ok OK

Test #21:

score: 0
Accepted
time: 2812ms
memory: 163968kb

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 694 317
ROUND 694 148
ROUND 546 180
ROUND 366 117
ROUND 249 208
ROUND 249 138
ROUND 249 245
ROUND 249 214
ROUND...

output:

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

result:

ok OK

Test #22:

score: 0
Accepted
time: 2827ms
memory: 163968kb

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: 2833ms
memory: 163968kb

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

result:

ok OK

Test #24:

score: 0
Accepted
time: 2820ms
memory: 163956kb

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 1738 1218
ROUND 1738 39
ROUND 1816 591
ROUND 1225 275
ROUND 950 706
ROUND 950 753
ROUND 950 32
ROUND 1014 984
ROUND 1014 211
ROUND 803 573
ROUND 80...

output:

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

result:

ok OK

Test #25:

score: 0
Accepted
time: 2810ms
memory: 163968kb

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

result:

ok OK

Test #26:

score: 0
Accepted
time: 2811ms
memory: 163968kb

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: 2818ms
memory: 163968kb

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

result:

ok OK

Test #28:

score: 0
Accepted
time: 2812ms
memory: 163968kb

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 551 354
ROUND 551 43
ROUND 508 309
ROUND 508 282
ROUND 508 310
ROUND 508 95
ROUND 698 323
ROUND 698 454
ROUND 698 468
ROUND 698 80
ROUND 618 587
ROUND 618 393...

output:

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

result:

ok OK

Test #29:

score: 0
Accepted
time: 2817ms
memory: 163968kb

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 973 408
ROUND 565 217
ROUND 999 419
ROUND 580 95
ROUND 770 30
RO...

output:

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

result:

ok OK

Test #30:

score: 0
Accepted
time: 2813ms
memory: 163968kb

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

result:

ok OK

Test #31:

score: 0
Accepted
time: 2822ms
memory: 163968kb

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 3091 1498
ROUND 3091 2812
ROUND 3091 1981
ROUND 3091 901
ROUND 4893 4302
ROUND 4893 2243
ROUND 489...

output:

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

result:

ok OK

Test #32:

score: 0
Accepted
time: 2813ms
memory: 163968kb

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: 2811ms
memory: 163968kb

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 564 312
ROUND 564 416
ROUND 564 84
ROUND 480 189
ROUND 291 32
ROUND 259 203
ROUND 259 253
ROUND...

output:

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

result:

ok OK

Test #34:

score: 0
Accepted
time: 2811ms
memory: 163840kb

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: 2818ms
memory: 163968kb

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

result:

ok OK

Test #36:

score: 0
Accepted
time: 2827ms
memory: 163968kb

input:

1000
ROUND 1000 684
ROUND 1000 411
ROUND 589 211
ROUND 1011 970
ROUND 1011 864
ROUND 1011 918
ROUND 1011 417
ROUND 1845 1133
ROUND 1845 547
ROUND 2939 93
ROUND 2846 2151
ROUND 2846 595
ROUND 2251 234
ROUND 2719 1419
ROUND 2719 1024
ROUND 1695 1298
ROUND 1695 239
ROUND 1456 1279
ROUND 1456 1084
ROUND...

output:

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

result:

ok OK

Test #37:

score: 0
Accepted
time: 2819ms
memory: 163968kb

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

result:

ok OK

Test #38:

score: 0
Accepted
time: 2816ms
memory: 163840kb

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

result:

ok OK

Test #39:

score: 0
Accepted
time: 2818ms
memory: 163968kb

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 810 192
ROUND 1194 775
ROUND 1194 820
ROUND 1194 248
ROUND 946 223
ROUND 1392 125...

output:

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

result:

ok OK

Test #40:

score: 0
Accepted
time: 2824ms
memory: 163968kb

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

result:

ok OK

Test #41:

score: 0
Accepted
time: 2819ms
memory: 163840kb

input:

1000
ROUND 1000 459
ROUND 1000 412
ROUND 1824 665
ROUND 3154 1389
ROUND 3154 117
ROUND 3037 66
ROUND 2971 841
ROUND 4653 2159
ROUND 4653 2644
ROUND 4653 4427
ROUND 4653 1229
ROUND 7111 3977
ROUND 7111 566
ROUND 6545 4228
ROUND 6545 59
ROUND 6486 5206
ROUND 6486 2249
ROUND 6486 4316
ROUND 6486 3308
R...

output:

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

result:

ok OK

Test #42:

score: 0
Accepted
time: 2815ms
memory: 163968kb

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

result:

ok OK

Test #43:

score: 0
Accepted
time: 2819ms
memory: 163968kb

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

result:

ok OK

Test #44:

score: 0
Accepted
time: 2820ms
memory: 163968kb

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

result:

ok OK

Test #45:

score: 0
Accepted
time: 2824ms
memory: 163968kb

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: 2820ms
memory: 163968kb

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: 2825ms
memory: 163960kb

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

result:

ok OK

Test #48:

score: 0
Accepted
time: 2819ms
memory: 163968kb

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 276 42
ROUND 234 89
ROUND 234 126
ROUND 234 200
ROUND 234 225
ROUND 234 162
ROUND 234 208
ROUND 234 171
ROUND 234 154
ROUND 234 37
ROUND 197 4
ROUND 2...

output:

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

result:

ok OK

Test #49:

score: 0
Accepted
time: 2821ms
memory: 163968kb

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

result:

ok OK

Test #50:

score: 0
Accepted
time: 2818ms
memory: 163968kb

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 2521 538
ROUND 1983 997
ROUND 1983 882
ROUND 1983 1247
ROUND 1983 1285
ROUND 1983 1848
ROUND 1983 742
ROUND 1241 623
ROUND 1241 802
ROU...

output:

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

result:

ok OK

Test #51:

score: 0
Accepted
time: 2817ms
memory: 163968kb

input:

1000
ROUND 1000 412
ROUND 1824 862
ROUND 1824 1643
ROUND 1824 1295
ROUND 1824 576
ROUND 2976 678
ROUND 4332 300
ROUND 4032 37
ROUND 3995 2792
ROUND 3995 3351
ROUND 3995 82
ROUND 4159 2398
ROUND 4159 3508
ROUND 4159 4140
ROUND 4159 1033
ROUND 6225 2152
ROUND 6225 2548
ROUND 6225 5132
ROUND 6225 449
R...

output:

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

result:

ok OK

Extra Test:

score: 0
Extra Test Passed