QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#872033#8619. Interactive Casinoucup-team055#AC ✓4ms3712kbC++268.0kb2025-01-25 23:22:572025-01-25 23:22:59

Judging History

你现在查看的是最新测评结果

  • [2025-01-25 23:22:59]
  • 评测
  • 测评结果:AC
  • 用时:4ms
  • 内存:3712kb
  • [2025-01-25 23:22:57]
  • 提交

answer

#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
namespace{
using namespace std;
using ll = long long;
using ld = long double;
using ull = unsigned long long;
using uint = unsigned;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using pdd = pair<ld, ld>;
using tuplis = array<ll, 3>;
template<class T> using pq = priority_queue<T, vector<T>, greater<T>>;
const ll LINF=0x1fffffffffffffff;
const ll MINF=0x7fffffffffff;
const int INF=0x3fffffff;
const int MOD=1000000007;
const int MODD=998244353;
const ld DINF=INFINITY;
const ld EPS=1e-9;
const ld PI=3.14159265358979323846;
const ll dx[] = {0, 1, 0, -1, 1, -1, 1, -1};
const ll dy[] = {1, 0, -1, 0, 1, 1, -1, -1};
#define overload5(a,b,c,d,e,name,...) name
#define overload4(a,b,c,d,name,...) name
#define overload3(a,b,c,name,...) name
#define rep1(n) rep2(_,n)
#define rep2(i,n) for(ll i=0;i<n;++i)
#define rep3(i,a,b) for(ll i=a;i<b;++i)
#define rep4(i,a,b,c) for(ll i=a;i<b;i+=c)
#define rep(...) overload4(__VA_ARGS__,rep4,rep3,rep2,rep1)(__VA_ARGS__)
#define rrep1(n) for(ll i=n;i--;)
#define rrep2(i,n) for(ll i=n;i--;)
#define rrep3(i,a,b) for(ll i=b;i-->(a);)
#define rrep4(i,a,b,c) for(ll i=(a)+((b)-(a)-1)/(c)*(c);i>=(a);i-=c)
#define rrep(...) overload4(__VA_ARGS__,rrep4,rrep3,rrep2,rrep1)(__VA_ARGS__)
#define each1(i,a) for(auto&&i:a)
#define each2(x,y,a) for(auto&&[x,y]:a)
#define each3(x,y,z,a) for(auto&&[x,y,z]:a)
#define each4(w,x,y,z,a) for(auto&&[w,x,y,z]:a)
#define each(...) overload5(__VA_ARGS__,each4,each3,each2,each1)(__VA_ARGS__)
#define all1(i) begin(i),end(i)
#define all2(i,a) begin(i),begin(i)+a
#define all3(i,a,b) begin(i)+a,begin(i)+b
#define all(...) overload3(__VA_ARGS__,all3,all2,all1)(__VA_ARGS__)
#define rall1(i) rbegin(i),rend(i)
#define rall2(i,a) rbegin(i),rbegin(i)+a
#define rall3(i,a,b) rbegin(i)+a,rbegin(i)+b
#define rall(...) overload3(__VA_ARGS__,rall3,rall2,rall1)(__VA_ARGS__)
#define sum(...) accumulate(all(__VA_ARGS__),0LL)
#define dsum(...) accumulate(all(__VA_ARGS__),0.0L)
#define Msum(...) accumulate(all(__VA_ARGS__),mint{})
#define elif else if
#define INT(...) int __VA_ARGS__;in(__VA_ARGS__)
#define LL(...) ll __VA_ARGS__;in(__VA_ARGS__)
#define ULL(...) ull __VA_ARGS__;in(__VA_ARGS__)
#define STR(...) string __VA_ARGS__;in(__VA_ARGS__)
#define CHR(...) char __VA_ARGS__;in(__VA_ARGS__)
#define DBL(...) double __VA_ARGS__;in(__VA_ARGS__)
#define LD(...) ld __VA_ARGS__;in(__VA_ARGS__)
#define vec(type,name,...) vector<type>name(__VA_ARGS__)
#define VEC(type,name,size) vector<type>name(size);in(name)
#define vv(type,name,h,...) vector name(h,vector<type>(__VA_ARGS__))
#define VV(type,name,h,w) vector name(h,vector<type>(w));in(name)
#define vvv(type,name,h,w,...) vector name(h,vector(w,vector<type>(__VA_ARGS__)))
template<class T> ll sz(const T& a){ return size(a); }
template<class T, class U> ll count(const T& a, const U& b){ return count(all(a), b); }
template<class T, class F> ll count_if(const T& a, F b){ return count_if(all(a), b); }
template<class T, class F> void filter(T& a, F b){ a.erase(remove_if(all(a), not_fn(b)), a.end()); }
template<class T, class F = less<>> void sor(T& a, F b = F{}){ sort(all(a), b); }
template<class T> void rev(T& a){ reverse(all(a)); }
template<class T> void uniq(T& a){ sor(a); a.erase(unique(all(a)), end(a)); }
ll popcnt(ull a){ return __builtin_popcountll(a); }
ll intpow(ll a, ll b){ ll ans = 1; while(b){ if(b & 1) ans *= a; a *= a; b /= 2; } return ans; }
ll modpow(ll a, ll b, ll p){ ll ans = 1; while(b){ if(b & 1) (ans *= a) %= p; (a *= a) %= p; b /= 2; } return ans; }
template<class T> T div_floor(T a, T b) { return a / b - ((a ^ b) < 0 && a % b); }
template<class T> T div_ceil(T a, T b) { return a / b + ((a ^ b) > 0 && a % b); }
template<class T> bool chmin(T& a, const T& b){ return a > b ? a = b, 1 : 0; }
template<class T> bool chmax(T& a, const T& b){ return a < b ? a = b, 1 : 0; }
template<class T, class U> bool chmin(T& a, const U& b){ return a > b ? a = b, 1 : 0; }
template<class T, class U> bool chmax(T& a, const U& b){ return a < b ? a = b, 1 : 0; }
vector<ll> iota(ll n, ll begin = 0){ vector<ll> a(n); iota(a.begin(), a.end(), begin); return a; }
vector<pll> factor(ull x){ vector<pll> ans; for(ull i = 2; i * i <= x; i++) if(x % i == 0){ ans.push_back({i, 1}); while((x /= i) % i == 0) ans.back().second++; } if(x != 1) ans.push_back({x, 1}); return ans; }
vector<ll> divisor(ull x){ vector<ll> ans; for(ull i = 1; i * i <= x; i++) if(x % i == 0) ans.push_back(i); rrep(ans.size() - (ans.back() * ans.back() == x)) ans.push_back(x / ans[i]); return ans; }
template<class T> unordered_map<T, ll> press(vector<T> a){ uniq(a); unordered_map<T, ll> ans; rep(i, a.size()) ans[a[i]] = i; return ans; }
template<class T> auto run_press(const T& a){ vector<pair<decay_t<decltype(a[0])>, ll>> ans; each(x, a){ if(ans.empty() || ans.back().first != x) ans.emplace_back(x, 1); else ans.back().second++; } return ans; }
template<class... Ts> void in(Ts&... t);
[[maybe_unused]] void print(){}
template<class T, class... Ts> void print(const T& t, const Ts&... ts);
template<class... Ts> void out(const Ts&... ts){ print(ts...); cout << '\n'; }
namespace IO{
#define VOID(a) decltype(void(a))
struct S{ S(){ cin.tie(nullptr)->sync_with_stdio(0); fixed(cout).precision(12); } }S;
template<int I> struct P : P<I-1>{};
template<> struct P<0>{};
template<class T> void i(T& t){ i(t, P<3>{}); }
void i(vector<bool>::reference t, P<3>){ int a; i(a); t = a; }
template<class T> auto i(T& t, P<2>) -> VOID(cin >> t){ cin >> t; }
template<class T> auto i(T& t, P<1>) -> VOID(begin(t)){ for(auto&& x : t) i(x); }
template<class T, size_t... idx> void ituple(T& t, index_sequence<idx...>){ in(get<idx>(t)...); }
template<class T> auto i(T& t, P<0>) -> VOID(tuple_size<T>{}){ ituple(t, make_index_sequence<tuple_size<T>::value>{}); }
template<class T> void o(const T& t){ o(t, P<4>{}); }
template<size_t N> void o(const char (&t)[N], P<4>){ cout << t; }
template<class T, size_t N> void o(const T (&t)[N], P<3>){ o(t[0]); for(size_t i = 1; i < N; i++){ o(' '); o(t[i]); } }
template<class T> auto o(const T& t, P<2>) -> VOID(cout << t){ cout << t; }
template<class T> auto o(const T& t, P<1>) -> VOID(begin(t)){ bool first = 1; for(auto&& x : t) { if(first) first = 0; else o(' '); o(x); } }
template<class T, size_t... idx> void otuple(const T& t, index_sequence<idx...>){ print(get<idx>(t)...); }
template<class T> auto o(T& t, P<0>) -> VOID(tuple_size<T>{}){ otuple(t, make_index_sequence<tuple_size<T>::value>{}); }
#undef VOID
}
#define unpack(a) (void)(0 + ... + (a, 0))
template<class... Ts> void in(Ts&... t){ unpack(IO::i(t)); }
template<class T, class... Ts> void print(const T& t, const Ts&... ts){ IO::o(t); unpack(IO::o((cout << ' ', ts))); }
#undef unpack
#ifdef DEBUG
ll __lg(ull x){ return 63 - __builtin_clzll(x); }
#define debug(...) { print(#__VA_ARGS__); print(":"); out(__VA_ARGS__); }
#else
#define debug(...) void(0)
#endif
#define YESNO(yes,no) void yes(bool i = 1){ out(i?#yes:#no); } void no(){ out(#no); }
YESNO(first, second)
YESNO(First, Second)
YESNO(Yes, No)
YESNO(YES, NO)
YESNO(possible, impossible)
YESNO(Possible, Impossible)
YESNO(POSSIBLE, IMPOSSIBLE)

#undef DEBUG
mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());
void solve(){
#ifdef DEBUG
    ll m=1000;
    ll t=1000;
#else
    LL(t);
#endif
    rep(round,t+1){
        #ifdef DEBUG
        ll b=rnd()%m+1;
        #else
        STR(s);
        if(s!="ROUND")return;
        LL(m,b);
        #endif
        if(b*lerp(6,1,(double)round/t)<=m){
        #ifdef DEBUG
            if(rnd()&1)m-=b;
            else m+=b*2;
            if(m>=10000){
                debug(round);
                return;
            }
        #else
            cout<<"PLAY"<<endl;
        #endif
        }else{
        #ifdef DEBUG
        #else
            cout<<"SKIP"<<endl;
        #endif
        }
    }
}
}
int main(){
    ll t = 1;
    // in(t); // マルチテストケースかどうか確認!
    rep(i,t){
        solve();
    }
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 3584kb

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 1140 252
ROUND 1140...

output:

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

result:

ok OK

Test #3:

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

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

result:

ok OK

Test #4:

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

input:

1000
ROUND 1000 589
ROUND 1000 55
ROUND 1110 406
ROUND 1110 211
ROUND 1110 298
ROUND 1110 431
ROUND 1110 204
ROUND 1110 933
ROUND 1110 22
ROUND 1088 544
ROUND 1088 418
ROUND 1088 309
ROUND 1088 817
ROUND 1088 551
ROUND 1088 289
ROUND 1088 824
ROUND 1088 989
ROUND 1088 909
ROUND 1088 769
ROUND 1088 9...

output:

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

result:

ok OK

Test #5:

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

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

result:

ok OK

Test #6:

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

input:

1000
ROUND 1000 637
ROUND 1000 885
ROUND 1000 909
ROUND 1000 190
ROUND 1000 97
ROUND 1194 751
ROUND 1194 786
ROUND 1194 568
ROUND 1194 500
ROUND 1194 766
ROUND 1194 668
ROUND 1194 634
ROUND 1194 441
ROUND 1194 937
ROUND 1194 721
ROUND 1194 45
ROUND 1149 823
ROUND 1149 835
ROUND 1149 705
ROUND 1149 3...

output:

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

result:

ok OK

Test #7:

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

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 1182 49
ROUND 1133 8...

output:

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

result:

ok OK

Test #8:

score: 0
Accepted
time: 1ms
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 1194 557
ROUND 1194 379
ROUND 1194 351
ROUND 1194 405
ROUND 1194 975
ROUND 1194 530
ROUND 1194 ...

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

result:

ok OK

Test #9:

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

input:

1000
ROUND 1000 364
ROUND 1000 951
ROUND 1000 648
ROUND 1000 861
ROUND 1000 233
ROUND 1000 709
ROUND 1000 309
ROUND 1000 118
ROUND 882 403
ROUND 882 330
ROUND 882 401
ROUND 882 613
ROUND 882 873
ROUND 882 736
ROUND 882 249
ROUND 882 487
ROUND 882 122
ROUND 1126 122
ROUND 1004 33
ROUND 971 736
ROUND ...

output:

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

result:

ok OK

Test #10:

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

input:

1000
ROUND 1000 236
ROUND 1000 403
ROUND 1000 94
ROUND 1188 467
ROUND 1188 668
ROUND 1188 782
ROUND 1188 898
ROUND 1188 751
ROUND 1188 35
ROUND 1153 792
ROUND 1153 86
ROUND 1067 169
ROUND 898 101
ROUND 1100 1076
ROUND 1100 382
ROUND 1100 32
ROUND 1068 791
ROUND 1068 190
ROUND 1068 456
ROUND 1068 620...

output:

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

result:

ok OK

Test #11:

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

input:

1000
ROUND 1000 213
ROUND 1000 744
ROUND 1000 355
ROUND 1000 8
ROUND 992 103
ROUND 889 172
ROUND 889 723
ROUND 889 544
ROUND 889 877
ROUND 889 273
ROUND 889 337
ROUND 889 754
ROUND 889 758
ROUND 889 253
ROUND 889 182
ROUND 889 663
ROUND 889 84
ROUND 805 294
ROUND 805 278
ROUND 805 358
ROUND 805 692
...

output:

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

result:

ok OK

Test #12:

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

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

result:

ok OK

Test #13:

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

input:

1000
ROUND 1000 166
ROUND 834 262
ROUND 834 788
ROUND 834 202
ROUND 834 728
ROUND 834 176
ROUND 834 713
ROUND 834 361
ROUND 834 305
ROUND 834 484
ROUND 834 105
ROUND 1044 372
ROUND 1044 215
ROUND 1044 620
ROUND 1044 756
ROUND 1044 710
ROUND 1044 777
ROUND 1044 972
ROUND 1044 679
ROUND 1044 82
ROUND ...

output:

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

result:

ok OK

Test #14:

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

input:

1000
ROUND 1000 446
ROUND 1000 566
ROUND 1000 348
ROUND 1000 245
ROUND 1000 343
ROUND 1000 483
ROUND 1000 82
ROUND 1164 376
ROUND 1164 602
ROUND 1164 309
ROUND 1164 454
ROUND 1164 206
ROUND 1164 943
ROUND 1164 696
ROUND 1164 311
ROUND 1164 881
ROUND 1164 292
ROUND 1164 971
ROUND 1164 563
ROUND 1164 ...

output:

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

result:

ok OK

Test #15:

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

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 1330 929
ROUND 1330 417
ROUND 1330 217
ROUND 1764 864
ROUND 1764 1013
ROUND 1...

output:

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

result:

ok OK

Test #16:

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

input:

1000
ROUND 1000 294
ROUND 1000 550
ROUND 1000 648
ROUND 1000 96
ROUND 904 213
ROUND 904 441
ROUND 904 195
ROUND 904 830
ROUND 904 167
ROUND 904 460
ROUND 904 833
ROUND 904 799
ROUND 904 366
ROUND 904 366
ROUND 904 477
ROUND 904 90
ROUND 814 439
ROUND 814 149
ROUND 814 194
ROUND 814 708
ROUND 814 140...

output:

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

result:

ok OK

Test #17:

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

input:

1000
ROUND 1000 765
ROUND 1000 224
ROUND 1000 895
ROUND 1000 108
ROUND 892 373
ROUND 892 4
ROUND 900 417
ROUND 900 656
ROUND 900 66
ROUND 1032 236
ROUND 1032 407
ROUND 1032 790
ROUND 1032 603
ROUND 1032 430
ROUND 1032 597
ROUND 1032 1021
ROUND 1032 1001
ROUND 1032 53
ROUND 1138 1056
ROUND 1138 704
R...

output:

SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
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
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
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 916 326
ROUND 916 409
ROUND 916 334
ROUND 916 227
ROUND 916 869
ROUND 916 214
ROUND 916 143
ROUND 773 150
ROUND 773 530
ROUND 773 547
ROUND 773 423
ROUND 773 517
ROUND 773 317
ROUND 773 627
...

output:

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

result:

ok OK

Test #19:

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

input:

1000
ROUND 1000 318
ROUND 1000 425
ROUND 1000 603
ROUND 1000 63
ROUND 1126 1004
ROUND 1126 761
ROUND 1126 199
ROUND 1126 332
ROUND 1126 1018
ROUND 1126 1001
ROUND 1126 332
ROUND 1126 558
ROUND 1126 1098
ROUND 1126 941
ROUND 1126 352
ROUND 1126 821
ROUND 1126 410
ROUND 1126 497
ROUND 1126 1124
ROUND ...

output:

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

result:

ok OK

Test #20:

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

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 1000 38
ROUND 1076 614
ROUND 1076 770
ROUND 1076 385
ROUND 1076 698
ROUND 1076 72
ROUND 1004 127
ROUND 1258 1040
ROUND 1258 84
ROUND 1426 855
ROUND 1426 6...

output:

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

result:

ok OK

Test #21:

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

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 1196 655
ROUND 1196 536
ROUND 1196 8...

output:

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

result:

ok OK

Test #22:

score: 0
Accepted
time: 0ms
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
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
...

result:

ok OK

Test #23:

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

input:

1000
ROUND 1000 917
ROUND 1000 240
ROUND 1000 84
ROUND 1168 1083
ROUND 1168 279
ROUND 1168 878
ROUND 1168 567
ROUND 1168 102
ROUND 1372 35
ROUND 1442 1439
ROUND 1442 697
ROUND 1442 644
ROUND 1442 573
ROUND 1442 435
ROUND 1442 1393
ROUND 1442 1207
ROUND 1442 1121
ROUND 1442 968
ROUND 1442 5
ROUND 145...

output:

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

result:

ok OK

Test #24:

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

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

result:

ok OK

Test #25:

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

input:

1000
ROUND 1000 669
ROUND 1000 69
ROUND 931 826
ROUND 931 727
ROUND 931 408
ROUND 931 397
ROUND 931 15
ROUND 961 661
ROUND 961 519
ROUND 961 429
ROUND 961 737
ROUND 961 1
ROUND 960 675
ROUND 960 266
ROUND 960 35
ROUND 925 713
ROUND 925 587
ROUND 925 472
ROUND 925 226
ROUND 925 449
ROUND 925 518
ROUN...

output:

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

result:

ok OK

Test #26:

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

input:

1000
ROUND 1000 541
ROUND 1000 929
ROUND 1000 224
ROUND 1000 609
ROUND 1000 668
ROUND 1000 209
ROUND 1000 915
ROUND 1000 347
ROUND 1000 294
ROUND 1000 215
ROUND 1000 298
ROUND 1000 38
ROUND 1076 984
ROUND 1076 739
ROUND 1076 626
ROUND 1076 424
ROUND 1076 405
ROUND 1076 442
ROUND 1076 158
ROUND 918 3...

output:

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

result:

ok OK

Test #27:

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

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

result:

ok OK

Test #28:

score: 0
Accepted
time: 1ms
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 1254 318
ROUND 1254 1072
ROUND 1254 573
ROUND 1254 109
ROUND 1472 582
ROUND 1472 6...

output:

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

result:

ok OK

Test #29:

score: 0
Accepted
time: 0ms
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 1249 976
ROUND 1249 220
ROUND 1249 1023
ROUND 1249 139
ROUND 1527 485
ROUND 1527 30
ROUND 1497 1215
ROUND 1...

output:

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

result:

ok OK

Test #30:

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

input:

1000
ROUND 1000 236
ROUND 1000 908
ROUND 1000 365
ROUND 1000 135
ROUND 865 496
ROUND 865 840
ROUND 865 139
ROUND 1143 170
ROUND 973 956
ROUND 973 72
ROUND 1117 96
ROUND 1309 46
ROUND 1401 686
ROUND 1401 256
ROUND 1401 643
ROUND 1401 357
ROUND 1401 1095
ROUND 1401 1219
ROUND 1401 1015
ROUND 1401 978
...

output:

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

result:

ok OK

Test #31:

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

input:

1000
ROUND 1000 212
ROUND 1000 737
ROUND 1000 922
ROUND 1000 568
ROUND 1000 421
ROUND 1000 94
ROUND 906 696
ROUND 906 392
ROUND 906 432
ROUND 906 83
ROUND 1072 1037
ROUND 1072 83
ROUND 1238 280
ROUND 1238 145
ROUND 1528 53
ROUND 1634 1081
ROUND 1634 1194
ROUND 1634 1227
ROUND 1634 451
ROUND 1634 917...

output:

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

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 916 590
ROUND 916 884
ROUND 916 530
ROUND 916 219
ROUND 916 241
ROUND 916 610
ROUND 916 658
ROUND 916 148
ROUND 1212 13
ROUND 1238 303
ROUND 1238 252
ROUND 1238 1214
ROUND 1238 674
ROUND 1238 107
ROUND 113...

output:

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

result:

ok OK

Test #33:

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

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 812 416
ROUND 812 12
ROUND 800 349
ROUND 800 260
ROUND 800 565
ROUND 800 154
ROUND 800 130...

output:

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

result:

ok OK

Test #34:

score: 0
Accepted
time: 1ms
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 1000 930
ROUND 1000 171
ROUND 1000 341
ROUND 1000 706
ROUND 1000 546
ROUND 1000 634
ROUND 1000 206
ROUND 1000 196
ROUND 1000 790
ROUND 1000...

output:

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

result:

ok OK

Test #35:

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

input:

1000
ROUND 1000 812
ROUND 1000 63
ROUND 1126 201
ROUND 1126 798
ROUND 1126 561
ROUND 1126 238
ROUND 1126 94
ROUND 1032 327
ROUND 1032 865
ROUND 1032 26
ROUND 1006 744
ROUND 1006 33
ROUND 973 104
ROUND 1181 288
ROUND 1181 307
ROUND 1181 710
ROUND 1181 333
ROUND 1181 1117
ROUND 1181 553
ROUND 1181 410...

output:

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

result:

ok OK

Test #36:

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

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 990 409
ROUND 990 713
ROUND 990 848
ROUND 990 694
ROUND 990 697
ROUND 990 936
ROUND 99...

output:

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

result:

ok OK

Test #37:

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

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 2640 23
ROUND 2686 2167
ROUND 2686 2049
ROUND ...

output:

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

result:

ok OK

Test #38:

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

input:

1000
ROUND 1000 435
ROUND 1000 945
ROUND 1000 248
ROUND 1000 114
ROUND 1228 897
ROUND 1228 353
ROUND 1228 558
ROUND 1228 118
ROUND 1464 1251
ROUND 1464 948
ROUND 1464 332
ROUND 1464 1445
ROUND 1464 1134
ROUND 1464 294
ROUND 1464 1036
ROUND 1464 771
ROUND 1464 214
ROUND 1250 517
ROUND 1250 125
ROUND ...

output:

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

result:

ok OK

Test #39:

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

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

result:

ok OK

Test #40:

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

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 949 941
ROUND 949 647
ROUND 949 530
ROUND 949 107
ROUND 842 48
ROUND ...

output:

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

result:

ok OK

Test #41:

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

input:

1000
ROUND 1000 459
ROUND 1000 412
ROUND 1000 795
ROUND 1000 489
ROUND 1000 239
ROUND 1000 971
ROUND 1000 339
ROUND 1000 414
ROUND 1000 779
ROUND 1000 648
ROUND 1000 637
ROUND 1000 861
ROUND 1000 197
ROUND 1000 362
ROUND 1000 413
ROUND 1000 127
ROUND 1254 452
ROUND 1254 400
ROUND 1254 1034
ROUND 125...

output:

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

result:

ok OK

Test #42:

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

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 1184 626
ROUND 1184 581
ROUND 1184 333
ROUND 1184 35
ROUND 1149 2...

output:

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

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 879 335
ROUND 879 758
ROUND 879 318
ROUND 879 286
ROUND 879 755
ROUND 879 365
ROUND 879 233
ROUND 879 245
ROUND 879 613
ROUND 879 659
ROUND 879 772
ROUND 879 872
ROUND 879 175
ROUND 879 446
ROUND 879 565
...

output:

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

result:

ok OK

Test #44:

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

input:

1000
ROUND 1000 883
ROUND 1000 552
ROUND 1000 244
ROUND 1000 159
ROUND 841 189
ROUND 841 130
ROUND 711 541
ROUND 711 79
ROUND 632 525
ROUND 632 95
ROUND 822 246
ROUND 822 434
ROUND 822 119
ROUND 703 156
ROUND 703 344
ROUND 703 364
ROUND 703 230
ROUND 703 253
ROUND 703 686
ROUND 703 129
ROUND 703 453...

output:

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

result:

ok OK

Test #45:

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

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 983 123
ROUND 1229 1018
ROUND 1229 1117
ROUND 1229 175
ROUND 1054 361
ROUND 10...

output:

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

result:

ok OK

Test #46:

score: 0
Accepted
time: 1ms
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
SKIP
SKIP
SKIP
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
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
...

result:

ok OK

Test #47:

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

input:

1000
ROUND 1000 812
ROUND 1000 559
ROUND 1000 348
ROUND 1000 202
ROUND 1000 917
ROUND 1000 667
ROUND 1000 150
ROUND 850 515
ROUND 850 517
ROUND 850 238
ROUND 850 137
ROUND 1124 411
ROUND 1124 916
ROUND 1124 927
ROUND 1124 190
ROUND 1124 687
ROUND 1124 602
ROUND 1124 693
ROUND 1124 231
ROUND 1124 522...

output:

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

result:

ok OK

Test #48:

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

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 1168 388
ROUND 1168 955
ROUND 1168 628
...

output:

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

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

input:

1000
ROUND 1000 860
ROUND 1000 93
ROUND 907 702
ROUND 907 626
ROUND 907 213
ROUND 907 745
ROUND 907 270
ROUND 907 683
ROUND 907 551
ROUND 907 689
ROUND 907 234
ROUND 907 218
ROUND 907 679
ROUND 907 856
ROUND 907 821
ROUND 907 723
ROUND 907 562
ROUND 907 468
ROUND 907 596
ROUND 907 694
ROUND 907 580
...

output:

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

result:

ok OK

Test #50:

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

input:

1000
ROUND 1000 436
ROUND 1000 248
ROUND 1000 785
ROUND 1000 362
ROUND 1000 423
ROUND 1000 254
ROUND 1000 987
ROUND 1000 738
ROUND 1000 715
ROUND 1000 137
ROUND 1274 962
ROUND 1274 389
ROUND 1274 1084
ROUND 1274 1169
ROUND 1274 1152
ROUND 1274 957
ROUND 1274 140
ROUND 1134 258
ROUND 1134 980
ROUND 1...

output:

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

result:

ok OK

Test #51:

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

input:

1000
ROUND 1000 412
ROUND 1000 77
ROUND 923 892
ROUND 923 157
ROUND 923 555
ROUND 923 347
ROUND 923 410
ROUND 923 71
ROUND 852 578
ROUND 852 121
ROUND 731 361
ROUND 731 325
ROUND 731 490
ROUND 731 572
ROUND 731 624
ROUND 731 130
ROUND 731 689
ROUND 731 725
ROUND 731 573
ROUND 731 147
ROUND 731 136
R...

output:

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

result:

ok OK

Extra Test:

score: 0
Extra Test Passed