QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#662785#4831. Eager Sortingrotcar07AC ✓5ms3740kbC++23967b2024-10-21 10:26:312024-10-21 10:26:32

Judging History

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

  • [2024-10-21 10:26:32]
  • 评测
  • 测评结果:AC
  • 用时:5ms
  • 内存:3740kb
  • [2024-10-21 10:26:31]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
int b[105];int c[105];
inline int ask(int x,int y){cout<<x<<' '<<y<<endl;int z;cin>>z;return z;}
int main(){
    int n;cin>>n;
    for(int i=1;i<=n;i++){
        int l=1,r=i,pos=i;
        while(l<r){
            int mid=l+r>>1;
            int d=c[mid];
            int z=ask(pos,d);
            int zz=z^(pos>d);
            if(z) c[mid]=pos,swap(b[d],b[pos]),pos=d;
            if(zz) l=mid+1;
            else r=mid;
        }
        for(int j=1;j<=i;j++) if(b[j]>=r) b[j]++;
        b[pos]=r;
        for(int j=i;j>r;j--) c[j]=c[j-1];c[r]=pos;
    }
    for(int i=1;i<=n;i++){
        if(b[i]!=i){
            int pos=0;
            for(int j=i+1;j<=n;j++) if(b[j]==i){pos=j;break;}
            // cout<<i<<' '<<pos<<'\n';
            int z=ask(i,pos);
            swap(b[i],b[pos]); 
        }
    }
    // for(int i=1;i<=n;i++) cout<<a[i]<<' ';cout<<'\n';
    cout<<"-1 -1"<<endl;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

Interactor to First Run

5
0
1
1
0
0
1
0
1
-1

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
4 5
-1 -1

Interactor to Second Run

5
0
0
0
0
0
0

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #2:

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

Interactor to First Run

1

First Run to Interactor

-1 -1

Interactor to Second Run

1

Second Run to Interactor

-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #3:

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

Interactor to First Run

2
0

First Run to Interactor

2 1
-1 -1

Interactor to Second Run

2
0

Second Run to Interactor

2 1
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #4:

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

Interactor to First Run

2
1

First Run to Interactor

2 1
-1 -1

Interactor to Second Run

2
0
-1

Second Run to Interactor

2 1
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #5:

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

Interactor to First Run

9
1
0
0
0
0
1
1
1
1
0
0
0
1
0
0
1
0
1
1
1
1

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
3 2
2 1
7 6
7 5
8 6
8 5
5 4
9 4
9 8
8 5
4 6
5 6
7 8
8 9
-1 -1

Interactor to Second Run

9
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #6:

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

Interactor to First Run

9
0
1
1
1
1
1
0
0
1
1
0
1
0
0
0
0
1
0
0
1
1
1
1

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
6 4
6 3
3 5
7 3
7 6
6 5
8 3
8 6
8 7
9 5
5 4
5 3
3 4
6 9
7 9
8 9
-1 -1

Interactor to Second Run

9
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #7:

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

Interactor to First Run

6
1
0
1
1
1
0
1
1
0
1
1

First Run to Interactor

2 1
3 2
4 2
2 1
5 4
4 2
6 4
4 2
2 1
3 4
4 6
-1 -1

Interactor to Second Run

6
0
0
0
0
0
0
0
0

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #8:

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

Interactor to First Run

20
1
1
0
1
1
1
1
0
0
0
1
0
1
1
0
1
0
0
1
0
1
1
0
0
1
1
0
0
0
1
0
1
0
0
0
0
1
1
1
0
1
1
1
1
1
0
1
1
1
1
1
0
0
0
0
1
1
0
1
1
1
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
6 3
7 5
5 2
5 4
8 5
5 2
5 4
9 8
9 3
9 6
10 8
10 6
6 3
3 7
11 3
11 10
10 6
6 7
12 3
12 10
12 9
9 11
13 6
6 5
6 3
14 6
14 9
14 12
12 11
15 13
13 5
13 3
3 8
16 6
6 5
5 2
2 1
17 16
16 6
6 5
5 2
2 1
18 13
18 9
18 12
18 14
19 17
17 4
4 5
4 2
2 1
20 13
13 6
13 3
13 8
3 4...

Interactor to Second Run

20
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #9:

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

Interactor to First Run

15
0
0
0
0
1
1
0
0
1
1
0
1
1
0
0
1
0
1
1
0
0
1
0
0
0
0
1
1
1
0
1
1
1
1
0
0
1
1
0
0
1
1
1
1
1
1
1
1
1
1

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
3 2
2 1
6 3
6 4
4 5
7 4
7 6
6 5
8 4
8 6
8 7
9 5
9 7
7 6
10 5
10 9
10 8
11 6
11 8
11 10
12 6
12 8
8 9
13 7
7 4
7 6
6 5
14 7
7 4
4 2
4 3
15 14
14 4
4 2
4 3
5 14
6 7
7 14
8 14
9 15
10 13
11 14
12 15
13 15
14 15
-1 -1

Interactor to Second Run

15
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #10:

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

Interactor to First Run

20
0
1
1
1
0
1
1
0
1
0
1
1
0
1
1
0
1
1
0
1
1
1
1
0
1
0
0
1
0
1
1
0
1
1
1
0
1
1
0
1
0
0
0
0
0
0
0
0
0
1
0
1
1
0
1
1
0
0
0
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
7 6
6 2
2 1
8 4
4 2
2 1
9 8
8 4
4 2
10 6
6 4
4 2
2 1
11 10
11 5
5 7
5 9
12 10
10 4
10 8
8 6
13 12
13 7
7 9
14 12
12 6
12 10
10 8
15 14
15 13
13 7
13 9
16 14
16 13
16 11
16 3
17 5
17 15
17 3
17 16
18 5
18 11
11 13
13 15
19 7
7 8
8 14
8 12
8 10
20 5
5 7
7 12
7 1...

Interactor to Second Run

20
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #11:

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

Interactor to First Run

27
1
1
0
0
0
1
1
0
1
1
1
0
1
1
1
0
1
0
0
1
1
1
0
1
1
1
1
0
0
0
1
1
0
1
0
1
0
0
1
1
0
1
1
1
0
1
1
1
1
1
1
0
0
1
0
1
0
1
0
1
1
0
0
1
0
0
0
1
-1

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
2 1
6 3
3 2
2 1
7 6
7 4
4 5
8 6
6 2
6 3
9 8
9 5
9 7
10 8
8 3
3 2
11 10
10 3
3 2
2 1
12 6
12 5
12 9
13 11
11 10
10 2
10 3
14 6
14 7
7 4
7 5
15 13
13 10
10 2
10 3
16 6
6 10
10 11
10 13
17 16
16 10
10 3
3 2
2 1
18 8
18 7
18 9
9 14
19 17
17 6
17 11
11 13
11 16
20 8
8 6
8 13
8...

Interactor to Second Run

27
0
0
0
0
0
0
0
1
1
0
0
0
1
1
0
0
0
1
0
1
1
0
0
0
0
0
0
1
0
1
0
0
1
0
0
1
1
1
1
0
1
1
0
1
1
1
0
0
0
1
0
1
1
0
1
0
1
1
1
1
0
0
0
0
1
1
0
1
1
0
0
1
0
0
1
1
0
1
1
1
0
0
1
1
1
1
1
1
0
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
8 4
8 6
6 5
9 5
9 8
9 7
10 5
5 3
5 4
11 10
10 3
10 5
12 10
12 8
12 9
13 11
13 7
7 8
7 6
14 11
14 13
14 12
12 9
15 6
15 9
9 8
8 7
16 6
6 4
6 10
10 11
17 16
17 13
13 8
8 7
18 16
18 17
18 12
18 14
19 7
19 15
15 9
9 13
9 8
20 7
20 17
17 13
13 9
9 8
21 8
21 20
...

Manager to Checker

OK
good job!

result:

ok OK

Test #12:

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

Interactor to First Run

30
0
1
0
1
0
1
1
1
0
0
0
1
1
1
0
1
1
1
0
1
0
1
1
1
0
1
1
1
0
1
0
1
1
0
1
1
1
0
1
1
0
0
1
1
1
1
1
0
0
0
1
0
0
1
1
0
1
0
1
0
1
0
1
0
0
0
1
0
1
1
0
1
1
0
0
1
1
1
1
1
1
1
1
0
0
1
1
0
1
0
1
0
0
1
1
1
1
1
0
1
1
1
0
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
6 3
7 5
7 6
6 3
8 5
5 2
5 4
9 8
8 4
4 2
10 5
5 4
5 8
11 10
10 4
4 2
12 8
8 4
4 2
2 1
13 12
12 8
12 5
5 10
14 12
14 3
3 11
11 9
15 13
15 14
14 9
9 3
16 13
16 11
11 9
9 3
17 3
3 5
5 12
5 10
18 13
18 16
16 11
16 14
19 17
17 3
3 4
3 2
2 1
20 13
13 8
13 10
10 5
21 20
2...

Interactor to Second Run

30
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #13:

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

Interactor to First Run

39
0
1
0
0
1
0
1
1
1
0
0
1
0
1
1
1
1
0
1
0
1
1
0
1
0
0
0
1
0
0
1
1
1
1
1
0
1
1
0
0
1
1
0
0
0
0
1
0
1
0
1
1
1
0
1
1
1
1
1
1
0
0
1
0
1
1
1
1
1
0
1
0
0
0
1
1
1
0
1
0
1
1
1
1
1
1
1
0
0
0
1
1
0
0
0
0
0
1
1
1
1
1
1
1
0
1
0
0
1
0
0
1
1
0
1
1
1
1
0
1
0
1
1
0
0
0
0
0
1
0
1
1
0
0
0
0
1
1
0
1
1
0
0
0
0
1
1
1
0...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
3 2
2 1
7 6
7 5
5 4
8 6
6 2
2 1
9 8
8 6
8 3
10 8
10 5
5 4
4 9
11 4
4 6
4 2
12 8
12 5
5 9
5 11
13 5
5 6
6 8
14 8
8 5
5 2
5 4
15 14
14 5
14 3
14 6
16 14
14 5
14 3
14 6
17 16
17 9
9 13
9 15
18 16
18 17
17 13
13 15
19 9
19 18
18 17
17 15
15 13
20 9
9 8
8 4
8 5
21 20
20 9
...

Interactor to Second Run

39
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-1

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
7 11

Manager to Checker

OK
good job!

result:

ok OK

Test #14:

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

Interactor to First Run

70
0
1
0
1
0
0
0
1
1
1
1
1
0
1
1
1
0
0
1
1
0
0
1
0
1
1
0
1
0
0
0
0
0
0
1
0
0
1
0
1
0
0
0
0
0
1
0
0
0
1
1
0
0
1
1
1
1
1
0
1
1
0
0
1
1
1
1
1
1
0
0
0
0
1
1
0
0
1
1
1
0
1
0
1
1
0
1
0
1
1
0
1
0
1
1
0
0
1
0
0
0
0
0
1
1
0
0
0
1
0
1
0
1
0
0
1
0
1
1
1
0
0
1
1
1
0
1
0
0
1
0
1
1
1
1
0
1
1
1
-1

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
5 3
6 4
4 2
2 1
7 6
6 2
2 1
8 4
4 2
2 1
9 8
9 3
9 5
10 8
8 4
8 6
11 10
10 4
10 8
8 6
12 10
12 3
3 7
3 11
13 3
13 12
13 9
14 3
14 5
5 7
5 11
15 5
5 6
5 2
2 1
16 3
16 12
16 9
16 13
17 15
15 6
15 10
15 3
18 15
15 6
6 5
6 4
19 18
18 6
6 5
5 2
2 1
20 3
20 12
12 11
11 17
11 19
21 1...

Interactor to Second Run

70
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
1
0
0
1
0
1
0
0
0
1
1
0
0
0
0
0
1
0
0
1
1
1
0
0
0
0
0
1
0
0
1
0
1
0
0
1
0
0
0
0
1
1
1
0
0
1
1
1
1
0
0
0
0
0
1
0
0
1
0
1
0
0
1
0
1
0
1
0
0
1
1
0
1
0
1
0
0
1
0
1
0
0
0
1
0
0
0
0
1
1
0
0
1
0
1
0
1
0
0
1
0
0
1
0
0
1
0
1
0
0
0
1
0
0
1
0
0
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
8 4
8 6
6 5
9 5
9 8
9 7
10 5
10 7
10 9
11 6
11 9
9 7
12 6
12 9
12 10
10 11
13 8
13 10
13 12
14 8
14 11
14 13
13 12
15 7
15 12
12 10
10 9
16 7
16 11
16 13
16 14
17 9
17 15
15 12
15 11
18 9
9 5
9 8
8 6
19 18
19 17
17 11
17 15
20 18
20 17
20 14
14 13
13 19
21...

Manager to Checker

OK
good job!

result:

ok OK

Test #15:

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

Interactor to First Run

74
0
1
1
1
1
0
0
1
1
1
1
1
0
0
0
0
0
0
0
1
0
1
1
1
1
1
1
1
0
1
0
1
1
0
1
1
1
0
1
0
0
1
1
1
1
0
1
1
0
0
0
0
1
1
0
1
0
0
1
1
1
1
1
0
1
1
1
1
1
0
1
1
1
0
0
1
0
0
1
1
1
1
1
0
1
1
0
1
0
1
1
1
1
1
0
0
1
0
1
0
0
0
0
0
1
0
1
1
0
1
1
1
1
0
1
1
0
0
0
1
1
1
1
0
1
1
0
0
1
1
0
1
1
0
0
0
1
1
1
0
0
0
1
1
1
1
1
0
0...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
5 3
6 4
4 2
2 1
7 6
6 2
2 1
8 4
8 3
8 5
9 7
9 5
9 8
10 7
7 6
7 4
11 10
10 6
6 2
2 1
12 7
7 6
6 2
13 12
12 7
12 4
4 10
14 12
14 5
5 11
11 3
15 13
15 14
14 3
14 11
16 13
13 7
7 2
2 1
17 16
17 14
14 3
3 5
18 16
18 17
18 8
18 9
19 3
3 13
3 7
7 6
20 16
20 17
17 14
14 5
5 19
21 5
5...

Interactor to Second Run

74
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #16:

score: 100
Accepted
time: 3ms
memory: 3656kb

Interactor to First Run

98
0
1
0
1
1
1
1
0
1
0
0
1
0
0
0
1
1
0
1
1
1
0
1
1
0
1
0
1
1
0
0
1
0
0
1
1
0
1
1
1
0
0
1
0
0
1
1
1
1
1
0
1
0
1
1
0
1
0
0
1
0
1
1
1
0
1
0
0
1
1
0
0
0
1
0
1
0
0
1
1
1
1
0
1
1
1
1
0
0
1
0
1
0
0
0
1
0
0
1
1
0
1
1
0
1
0
0
1
0
0
0
1
0
1
0
0
0
1
0
1
1
0
1
1
0
1
1
1
1
0
1
1
0
1
1
0
0
0
0
0
0
1
1
0
1
1
1
0
1...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
7 6
7 3
3 5
8 6
8 5
8 7
9 3
3 4
3 2
2 1
10 6
6 3
6 4
11 10
10 3
10 6
6 4
12 10
10 3
3 2
13 12
13 5
5 9
5 11
14 12
12 10
10 2
10 3
15 14
14 10
10 2
10 3
16 6
6 10
6 2
6 3
17 16
16 10
10 3
3 2
2 1
18 4
4 6
4 3
3 2
2 1
19 18
18 10
18 14
18 12
20 18
20 11
11 15
15...

Interactor to Second Run

98
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-1

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #17:

score: 100
Accepted
time: 4ms
memory: 3660kb

Interactor to First Run

100
0
1
1
0
0
1
1
1
1
1
0
0
1
0
1
1
0
0
1
1
0
1
1
1
0
1
1
1
0
0
1
0
0
0
1
1
0
0
0
0
0
0
1
1
0
0
0
1
1
0
0
0
1
0
1
1
1
1
0
1
1
1
1
1
0
1
0
0
1
0
0
1
1
1
1
1
0
0
1
-1

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
2 1
6 3
3 2
2 1
7 6
7 4
4 5
8 6
6 2
2 1
9 8
9 5
5 4
10 8
10 9
9 5
5 4
11 4
11 10
10 9
9 5
12 4
12 10
12 7
7 11
13 5
13 7
13 12
12 11
14 5
14 11
14 13
15 9
15 12
15 14
16 9
9 3
3 2
3 6
17 16
17 12
12 7
7 10
18 16
18 17
18 14
14 13
19 7
7 9
9 5
5 4
4 8
20 16
16 7
7 3
3 2
2 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
1
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
1
1
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
0
0
1
1
0
1
0
0
1
1
0
1
0
1
1
0
0
1
0
0
1
1
1
0
0
1
1
1
0
0
1
1
1
1
0
1
0
0
0
0
0
0
1
1
1
0
0
1
1
0
0
1
0
0
1
0
0
0
1
1
1
1
1
1
1
1
0
0
1
1
0
0
0
0
0
0
1
1
1
1
1
1
1
0
0
1
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
4 2
4 3
8 4
8 5
8 6
9 7
9 6
9 8
10 7
10 8
10 9
11 5
11 9
11 10
12 5
12 9
12 11
11 10
13 6
13 10
13 12
14 6
14 11
14 13
15 8
15 12
15 14
16 8
8 4
4 2
4 3
17 16
17 12
12 10
10 9
18 16
18 17
18 14
18 15
19 9
19 13
13 11
11 12
11 10
20 9
20 17
17 12
12 11
11 10
21...

Manager to Checker

OK
good job!

result:

ok OK

Test #18:

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

Interactor to First Run

100
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
1
0
0
1
1
1
0
0
0
0
0
0
0
1
1
1
0
1
0
1
0
0
0
1
0
1
0
0
1
1
0
0
0
1
0
0
0
1
0
1
0
1
1
0
1
1
1
0
1
1
1
1
0
1
1
0
1
1
0
1
0
1
0
1
1
1
1
0
0
0
0
1
0
0
1
1
0
0
1
0
1
0
0
0
1
0
1
0
0
0
0
0
1
0
0
1
1
0
1
0
1
0
0
0
1
1
1
0
0
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
1
1
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
3 2
2 1
7 6
6 2
6 3
8 6
6 2
2 1
9 8
8 6
8 3
10 8
8 6
6 2
2 1
11 10
11 4
11 5
12 10
12 4
12 11
13 9
9 8
8 2
2 1
14 10
10 6
10 3
3 9
15 14
15 5
15 12
12 11
16 14
14 6
14 9
14 10
17 16
16 3
16 10
16 14
18 16
16 3
16 10
16 14
19 18
18 3
18 14
14 10
20 16
16 3
3 8
3 2
2 1
...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #19:

score: 100
Accepted
time: 4ms
memory: 3740kb

Interactor to First Run

100
0
0
1
1
1
1
0
0
0
1
1
0
0
0
1
1
1
1
1
0
0
1
1
1
0
1
0
1
1
1
0
1
0
0
0
1
0
1
0
1
0
0
1
1
1
1
1
1
0
1
1
1
1
0
1
0
0
0
1
1
0
1
0
1
0
0
1
0
1
0
0
0
1
1
0
1
1
0
0
0
0
1
1
0
0
0
0
0
0
1
1
0
1
0
1
1
1
1
0
1
1
0
1
1
1
1
0
1
0
1
0
1
0
1
1
0
1
0
1
0
1
0
1
1
1
1
0
0
1
0
1
1
1
1
1
1
1
1
1
0
1
0
0
1
1
1
1
0
...

First Run to Interactor

2 1
3 2
4 2
2 1
5 4
4 2
2 1
6 4
6 3
7 5
5 2
2 1
8 4
8 3
8 6
9 7
7 5
5 2
2 1
10 4
10 6
10 8
11 9
9 5
5 2
12 4
4 5
4 2
2 1
13 12
12 5
12 7
7 9
14 12
14 6
14 10
10 8
15 13
13 5
13 9
9 7
16 12
16 6
6 11
11 3
17 15
15 7
7 4
4 2
18 12
12 5
5 4
4 2
2 1
19 18
18 7
18 9
18 13
20 18
18 7
7 4
7 5
21 20
21 11
1...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-1

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #20:

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

Interactor to First Run

100
0
1
0
1
0
0
1
1
1
1
1
1
0
0
1
1
1
0
1
1
1
0
0
0
0
1
1
1
1
0
1
1
0
0
0
1
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
1
1
1
0
1
1
0
1
1
0
1
1
0
0
0
0
0
1
1
0
1
-1

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
5 3
6 4
4 2
2 1
7 6
6 2
2 1
8 4
8 3
3 7
9 3
3 6
3 2
2 1
10 4
4 3
4 6
11 10
11 8
11 5
12 10
10 3
3 2
2 1
13 12
12 10
10 2
10 3
14 6
14 8
8 9
8 13
15 8
15 14
15 11
16 8
16 14
14 9
9 13
17 9
17 16
17 11
17 15
18 9
18 5
5 7
7 16
19 13
13 12
12 3
12 10
20 9
9 12
9 3
3 2
2 1
21 20
...

Interactor to Second Run

100
0
0
0
0
0
0
0
1
0
0
0
0
1
0
1
0
1
1
0
0
0
0
0
1
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
1
1
0
0
1
0
1
0
1
1
0
0
1
0
0
0
0
0
1
1
1
1
0
0
1
1
0
1
1
1
1
1
1
0
1
1
0
1
0
1
0
1
1
0
0
0
0
0
0
1
1
0
1
0
0
0
1
0
0
0
0
1
0
0
0
1
0
1
1
1
1
1
0
0
0
1
1
1
1
1
0
1
1
1
1
0
0
0
1
0
0
1
0
0
0
0
0
1
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
8 4
8 6
6 5
9 5
5 3
5 4
10 5
5 3
5 4
11 10
11 8
11 7
12 10
10 3
10 5
13 12
13 8
8 6
6 9
14 12
14 13
13 9
13 8
15 6
15 14
15 11
16 6
16 14
16 11
11 7
17 9
17 7
17 16
17 15
18 9
18 11
18 15
15 16
19 8
19 15
15 7
7 14
7 13
20 8
8 5
8 6
6 12
6 10
21 20
20 6
20...

Manager to Checker

OK
good job!

result:

ok OK

Test #21:

score: 100
Accepted
time: 4ms
memory: 3652kb

Interactor to First Run

100
0
1
1
0
0
1
0
1
1
0
0
1
1
0
1
0
1
0
0
1
1
0
0
1
1
0
1
1
1
0
1
1
0
1
1
0
0
0
1
0
1
1
0
0
1
1
0
0
0
1
1
1
0
0
0
1
0
1
0
0
1
0
0
1
1
1
0
1
0
0
1
1
1
1
0
0
1
1
1
1
0
1
0
1
1
0
0
1
0
1
0
1
0
0
0
1
0
1
1
1
0
1
0
0
0
1
1
1
1
1
1
1
1
0
0
1
1
0
0
1
0
0
0
0
1
0
1
1
1
1
1
1
0
1
0
0
1
0
0
1
1
0
0
0
1
1
1
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
6 3
3 2
2 1
7 6
7 4
4 5
8 6
8 5
5 4
9 4
4 3
4 6
10 6
6 3
3 2
11 10
11 8
8 5
5 9
12 10
10 3
3 2
2 1
13 12
12 10
10 2
10 3
14 4
4 10
4 2
4 3
15 14
14 4
14 12
12 10
16 6
16 9
16 11
11 8
17 15
17 8
17 16
17 7
18 15
15 10
10 3
10 4
19 18
19 11
11 9
11 8
20 18
20 11
20 7
7 16
7...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #22:

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

Interactor to First Run

100
1
1
1
0
0
1
0
1
0
0
1
0
1
0
1
1
0
0
1
0
0
1
0
1
0
1
0
1
1
0
1
1
1
0
0
1
1
0
0
1
0
0
1
0
0
0
0
1
0
0
0
0
0
1
1
0
0
0
0
0
1
1
0
1
0
1
1
0
1
0
1
0
1
0
1
1
1
0
1
1
0
0
1
0
1
0
1
0
0
0
1
1
1
1
0
1
1
1
1
0
1
0
0
1
0
1
1
1
1
0
1
1
0
1
0
1
1
0
0
1
1
0
0
0
1
0
1
1
1
0
1
0
0
1
1
1
0
0
0
1
1
1
0
0
0
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
6 3
3 2
7 6
7 4
4 5
8 6
6 2
6 3
9 8
8 3
8 6
10 8
8 3
8 6
11 10
10 3
10 8
8 6
12 10
10 3
10 8
8 6
13 12
13 4
4 9
14 12
12 6
12 10
15 14
14 6
6 2
6 3
16 12
12 6
12 8
12 10
17 16
17 9
17 5
17 7
18 16
16 14
16 10
16 12
19 18
19 13
19 7
7 5
20 18
20 13
20 19
20 17
21 15
21 5
5...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
-1

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
6 7

Manager to Checker

OK
good job!

result:

ok OK

Test #23:

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

Interactor to First Run

100
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
12 11
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #24:

score: 100
Accepted
time: 3ms
memory: 3628kb

Interactor to First Run

100
1
0
0
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
1
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
6 5
8 4
8 6
6 5
9 5
9 8
9 7
10 5
10 7
7 8
11 6
11 10
11 9
12 6
12 10
12 11
13 7
13 9
13 12
12 11
14 7
14 11
14 13
15 8
15 12
15 14
14 13
16 8
16 12
16 14
16 15
17 10
17 13
17 15
17 16
18 10
18 14
18 16
18 17
19 9
19 15
19 17
19 18
20 9
20 15
20 18
20 19
21 11
...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #25:

score: 100
Accepted
time: 3ms
memory: 3724kb

Interactor to First Run

100
0
1
0
0
0
1
1
0
0
0
0
1
1
0
0
0
0
1
0
0
0
1
0
1
1
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
1
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
1
1
0
0
0
0
0
0
0
0
1
0
0
1
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
1
0
0
1
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
2 1
6 3
6 4
7 5
7 6
6 4
8 5
8 6
8 7
9 4
9 7
7 6
10 4
10 9
10 8
11 6
11 8
8 9
12 6
12 9
12 10
13 7
13 11
13 12
14 7
14 10
10 9
10 11
15 8
15 14
15 13
16 8
16 14
16 13
16 15
17 9
17 12
17 15
15 13
18 9
18 13
13 14
14 12
19 10
19 18
19 17
17 15
20 10
20 18
20 19
20 16
21 11
...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #26:

score: 100
Accepted
time: 3ms
memory: 3668kb

Interactor to First Run

100
1
1
0
0
0
1
1
1
0
1
1
0
1
0
1
1
0
0
0
0
0
0
1
1
0
1
0
0
0
0
1
1
0
0
0
0
0
1
0
1
0
0
1
1
0
0
0
0
0
0
0
1
0
1
0
1
0
0
1
0
0
0
1
1
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
1
0
0
0
1
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
2 1
6 3
6 4
4 5
7 4
7 6
6 5
8 4
4 2
2 1
9 8
9 6
9 7
10 8
10 7
10 9
11 5
5 4
5 8
12 8
12 7
12 10
13 11
13 9
9 7
7 6
14 11
14 13
14 12
15 6
15 10
10 9
10 13
16 6
16 13
16 12
12 15
17 7
17 12
17 16
17 14
18 7
18 15
18 14
18 17
19 9
19 16
16 12
16 15
20 9
20 16
20 17
17 14
21...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #27:

score: 100
Accepted
time: 3ms
memory: 3672kb

Interactor to First Run

100
1
1
0
0
0
0
1
1
1
0
1
1
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
1
1
0
0
0
0
1
0
1
0
1
1
1
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
1
0
1
0
0
1
0
0
0
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
1
0
0
0
1
0
0
0
1
1
0
0
0
0
0
1
0
0
1
0
1
0
0
0
1
1
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
3 2
2 1
7 6
6 2
2 1
8 3
8 4
8 5
9 7
9 5
9 8
10 7
10 8
10 9
11 4
11 9
9 8
8 5
12 4
12 9
12 10
10 11
13 5
13 10
13 12
14 5
14 11
11 9
11 10
15 8
15 14
14 10
10 9
16 8
16 11
16 12
16 13
17 9
17 15
17 13
13 12
18 9
18 12
18 17
18 16
19 10
19 13
19 16
19 18
20 10
20 13
13 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #28:

score: 100
Accepted
time: 3ms
memory: 3708kb

Interactor to First Run

100
0
1
1
1
1
1
1
0
0
0
1
1
1
0
0
1
0
1
0
0
0
0
0
1
0
1
0
1
1
1
1
0
1
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
1
1
0
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
1
0
1
1
0
0
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
1
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
1
0
0
1
1
1
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
6 3
7 5
5 2
2 1
8 4
8 3
8 6
9 7
9 6
6 3
10 7
10 9
10 8
11 3
11 8
8 9
8 6
12 3
12 9
9 8
8 6
13 6
6 4
6 3
3 7
14 6
14 12
12 8
12 9
15 13
15 14
15 10
16 13
13 4
13 7
13 6
17 16
17 14
17 10
10 11
18 16
18 10
18 17
18 15
19 8
19 11
19 15
15 17
20 8
20 11
11 14
14 10
21...

Interactor to Second Run

100
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
0
1
1
1
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
3 2
6 3
6 4
7 5
7 6
6 4
8 5
8 6
8 7
9 4
9 7
9 8
10 4
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
11 10
13 7
13 10
10 9
9 8
14 7
14 13
14 12
15 8
15 11
15 14
16 8
16 11
11 10
10 9
17 9
17 16
17 14
17 15
18 9
18 12
18 15
18 17
19 10
19 14
19 17
19 18
20 10
20 14
20 18
18 17
17 15
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #29:

score: 100
Accepted
time: 4ms
memory: 3716kb

Interactor to First Run

100
0
1
1
0
1
1
1
1
1
1
1
1
0
0
0
0
0
1
0
1
1
0
1
0
0
0
0
0
0
0
1
0
0
1
0
1
0
1
1
0
0
0
0
1
0
0
1
1
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
1
0
0
1
0
0
0
1
0
1
1
0
0
0
1
1
0
0
1
1
1
0
0
0
1
1
0
0
1
0
1
0
0
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
2 1
6 3
3 2
2 1
7 6
6 2
6 3
8 6
8 5
8 4
9 7
7 3
7 6
10 7
7 3
7 6
11 10
11 4
11 8
12 10
12 4
12 11
13 9
13 8
8 4
14 9
14 13
13 4
13 8
15 5
15 14
14 8
8 4
16 5
16 13
16 11
16 12
17 4
17 15
17 12
12 11
18 4
18 11
18 17
18 16
19 8
19 12
19 16
19 18
20 8
8 7
8 5
8 4
21 20
21 1...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #30:

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

Interactor to First Run

100
1
0
0
1
1
0
1
0
1
1
1
0
0
1
1
1
1
1
0
0
0
1
0
0
0
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
1
0
0
1
0
1
0
0
1
1
1
1
1
1
0
1
1
1
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
1
1
0
0
0
1
1
0
0
1
1
1
0
0
0
1
1
0
0
1
0
0
0
1
1
0
1
0
0
0
0
1
0
0
0
1
1
0
0
1
0
1
0
0
0
0
0
0
0
0
1
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
3 2
6 3
3 2
7 6
6 2
2 1
8 3
8 5
8 4
9 7
7 6
6 2
2 1
10 3
10 4
10 8
11 9
9 6
9 3
12 9
12 4
4 5
13 11
11 7
7 2
7 6
14 9
14 12
14 10
15 13
15 8
15 14
14 10
16 13
16 8
16 14
14 10
17 4
17 10
10 12
10 5
18 4
18 17
18 16
16 14
19 5
5 11
11 13
13 4
20 13
20 17
17 12
12 10
10 19
21 10
21...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #31:

score: 100
Accepted
time: 3ms
memory: 3660kb

Interactor to First Run

100
1
1
1
0
0
0
0
0
1
1
0
1
1
0
1
1
1
1
0
1
1
1
1
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
1
1
1
0
0
1
0
0
0
1
1
1
1
1
1
0
0
1
1
1
0
0
0
0
0
0
0
1
0
1
0
1
1
0
0
1
0
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
1
0
1
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
1
0
1
0
0
0
0
1
0
1
0
1
0
0
0
0
1
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
6 5
8 4
8 6
6 5
9 5
5 3
3 2
10 4
4 3
3 2
2 1
11 10
11 8
11 7
12 10
10 3
3 2
2 1
13 12
12 10
10 2
2 1
14 5
14 8
14 11
15 13
15 7
15 14
14 11
16 13
16 7
7 6
6 9
17 6
17 16
17 14
14 11
18 6
18 11
18 17
17 14
19 9
9 12
12 13
13 6
20 13
20 11
20 18
18 17
17...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #32:

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

Interactor to First Run

100
1
1
0
1
1
1
1
1
0
1
1
1
1
1
0
1
0
0
0
0
1
0
1
0
0
1
1
1
1
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
1
1
1
0
0
0
1
1
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
0
1
0
0
0
0
1
1
1
0
1
0
0
1
0
1
0
1
1
0
1
0
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
0
0
1
1
1
0
0
0
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
6 3
3 5
7 3
3 2
2 1
8 4
8 5
5 7
9 5
9 8
9 6
10 5
5 3
5 4
11 10
11 6
11 9
12 10
10 3
3 2
2 1
13 12
13 6
13 11
14 12
14 9
9 8
9 6
15 7
15 14
15 13
13 11
16 7
16 14
16 13
16 15
17 8
17 11
17 15
15 13
18 8
8 4
8 12
8 5
19 18
18 4
4 3
4 10
20 7
20 11
20 17
20 16
21 19
...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #33:

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

Interactor to First Run

100
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
1
0
0
1
0
1
1
1
1
0
1
1
0
0
1
1
1
0
1
1
1
0
1
1
0
1
0
1
0
1
0
0
1
0
0
0
0
0
0
1
0
1
0
1
1
1
1
0
0
0
1
0
1
1
0
0
0
0
0
0
0
0
1
1
0
0
1
0
0
0
1
1
1
1
0
0
1
1
1
0
0
0
1
0
0
1
0
0
0
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
0
0
1
1
0
0
1
0
0
0
0
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
2 1
7 6
7 3
8 6
8 3
8 7
9 5
5 4
4 2
2 1
10 6
10 7
7 3
11 9
11 10
10 7
12 9
9 4
4 2
2 1
13 12
13 10
10 7
7 3
14 12
14 13
13 7
7 3
15 3
15 14
14 13
13 7
16 3
16 10
10 13
13 14
17 7
7 5
7 12
12 3
18 12
12 5
12 7
12 3
19 18
19 16
19 11
19 8
20 18
20 16
20 8
8 11
8...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #34:

score: 100
Accepted
time: 4ms
memory: 3736kb

Interactor to First Run

100
1
0
1
1
0
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
1
0
0
1
1
1
1
0
1
1
0
0
1
0
0
1
1
0
1
1
0
1
0
0
0
1
0
0
1
1
0
0
1
1
0
0
0
0
0
1
1
0
1
0
0
1
0
1
0
1
0
1
0
0
0
0
1
0
0
1
1
1
1
0
0
0
1
1
0
1
0
1
0
0
0
1
0
0
0
1
1
1
1
0
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
2 1
5 4
5 3
6 4
4 2
2 1
7 6
6 2
2 1
8 4
4 2
2 1
9 8
9 3
9 5
10 8
10 5
10 9
11 7
7 4
4 2
2 1
12 8
8 4
4 2
2 1
13 12
13 5
13 10
10 9
14 12
14 9
9 3
3 11
15 3
3 8
3 2
2 1
16 12
16 5
16 10
10 14
17 15
17 10
10 9
9 11
18 15
15 8
8 3
8 4
19 18
19 17
19 16
19 13
20 18
20 17
20 13
13 16
21 9
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #35:

score: 100
Accepted
time: 3ms
memory: 3672kb

Interactor to First Run

100
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
1
0
1
1
1
0
0
0
1
0
0
1
1
1
1
1
1
0
0
0
0
1
1
0
1
0
1
0
1
1
0
0
0
1
0
0
0
1
0
1
1
0
0
0
1
1
1
1
0
0
0
0
0
1
1
1
0
1
1
0
0
0
1
0
1
0
0
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
1
1
1
0
0
0
1
1
0
0
1
0
1
0
0
1
0
1
0
0
1
1
0
0
0
0
0
1
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
2 1
7 6
6 2
2 1
8 4
4 2
2 1
9 8
9 5
9 3
10 8
10 3
3 5
11 7
7 4
4 2
2 1
12 8
8 4
4 2
2 1
13 12
13 5
13 9
14 12
12 8
8 2
2 1
15 14
15 10
10 3
3 11
16 14
16 5
16 9
16 13
17 3
17 15
17 13
13 9
18 3
3 12
12 6
6 7
19 18
19 9
19 17
19 16
20 18
18 3
3 8
3 2
2 1
21 20
...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #36:

score: 100
Accepted
time: 4ms
memory: 3672kb

Interactor to First Run

100
1
0
1
1
1
1
1
1
0
1
1
1
1
1
1
0
0
0
0
1
1
1
0
0
0
1
0
1
0
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
1
0
0
1
1
0
1
1
0
0
0
0
1
0
1
0
1
0
1
1
1
1
1
1
1
1
0
0
0
1
1
0
0
1
1
1
0
1
1
1
0
0
0
1
0
1
1
0
1
1
0
0
1
0
1
0
0
1
1
0
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
1
1
0
0
0
1
0
0
0
0
1
1
0
1
1
1
0
0
0
0
0
1
...

First Run to Interactor

2 1
3 2
4 2
2 1
5 4
4 2
2 1
6 4
4 2
7 6
6 2
2 1
8 4
4 2
2 1
9 8
9 5
9 3
10 8
10 3
3 5
11 7
7 4
7 8
7 6
12 8
8 4
8 7
7 6
13 12
12 6
6 2
2 1
14 8
8 4
4 2
2 1
15 14
15 5
15 9
16 14
16 5
16 9
9 10
17 13
17 9
17 16
17 15
18 13
13 8
13 7
13 14
19 18
18 8
18 13
13 7
7 12
20 14
20 9
20 15
20 17
21 19
21 10
...

Interactor to Second Run

100
0
0
0
1
0
0
0
1
1
0
0
0
1
1
0
0
0
0
0
0
0
0
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
0
0
0
0
0
0
0
1
1
0
1
0
1
0
1
0
1
0
0
0
0
0
0
1
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
1
1
0
0
1
1
0
1
0
0
1
0
1
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
1
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
8 4
8 6
6 5
9 5
9 8
9 7
10 5
10 7
10 9
11 6
11 9
11 10
12 6
12 9
12 11
11 10
13 8
13 10
13 12
12 11
14 8
14 11
14 13
13 12
15 7
15 12
15 14
14 13
16 7
16 12
16 14
16 15
17 9
17 13
17 15
15 14
18 9
18 14
14 12
14 13
19 10
19 18
18 13
18 14
20 10
20 18
20 17...

Manager to Checker

OK
good job!

result:

ok OK

Test #37:

score: 100
Accepted
time: 3ms
memory: 3740kb

Interactor to First Run

100
1
1
1
1
1
0
1
1
1
1
0
0
1
1
1
0
1
1
1
0
0
1
0
1
0
1
1
1
1
0
0
0
0
0
1
0
1
1
0
0
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
1
1
1
0
1
0
1
0
1
0
1
1
1
1
1
1
0
0
1
1
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
1
0
1
0
0
0
1
1
0
1
1
1
1
0
0
0
1
0
0
1
1
1
1
1
1
0
1
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
5 3
6 4
4 2
2 1
7 6
7 5
8 6
6 2
2 1
9 8
9 5
5 3
10 8
8 6
8 4
11 10
10 6
10 8
8 4
12 10
10 6
6 2
2 1
13 12
13 5
13 7
14 12
14 9
14 13
13 7
15 11
11 10
10 2
10 6
16 12
12 10
10 2
2 1
17 16
17 9
17 13
17 14
18 16
18 7
18 14
18 17
19 15
19 13
19 17
19 18
20 15
15 12
12 10
10 2
2 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #38:

score: 100
Accepted
time: 4ms
memory: 3660kb

Interactor to First Run

100
0
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
0
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
2 1
7 6
6 2
2 1
8 4
4 2
2 1
9 8
8 4
4 2
2 1
10 6
6 4
4 2
2 1
11 10
10 4
4 2
2 1
12 8
8 4
4 2
2 1
13 12
12 8
8 2
2 1
14 6
6 4
4 2
2 1
15 14
14 8
8 2
2 1
16 10
10 4
4 2
2 1
17 16
16 10
10 4
4 2
2 1
18 12
12 8
8 4
4 2
2 1
19 18
18 10
10 4
4 2
2 1
20 6
6 8
6 4
4 2...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #39:

score: 100
Accepted
time: 4ms
memory: 3680kb

Interactor to First Run

100
0
1
1
0
1
1
1
0
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
0
1
1
1
0
1
1
0
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
0
1
1
0
1
1
1
1
1
1
1
0
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
0
0
1
1
1
1
1
1
0
0
1
1
1
1
1
0
1
1
1
1
1
0
1
0
1
1
1
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
2 1
6 3
3 2
2 1
7 6
6 2
2 1
8 3
3 2
2 1
9 8
8 3
3 2
2 1
10 6
6 3
3 2
2 1
11 10
10 3
3 2
2 1
12 8
8 3
3 2
2 1
13 12
12 8
8 2
2 1
14 6
6 3
3 2
3 8
15 14
14 8
8 2
2 1
16 10
10 3
3 2
2 1
17 16
16 10
10 3
3 2
2 1
18 12
12 8
8 3
3 2
2 1
19 18
18 10
10 3
3 2
2 1
20 6
6 8
6 3
3 2...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #40:

score: 100
Accepted
time: 2ms
memory: 3588kb

Interactor to First Run

100
0
1
1
1
0
0
1
1
1
1
1
0
1
1
0
0
1
1
1
1
1
1
1
0
1
1
1
0
1
0
1
0
1
1
1
1
1
1
0
0
1
0
1
0
1
1
1
1
1
1
1
1
0
1
1
0
0
1
1
0
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
0
0
1
1
0
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
0
0
0
1
0
1
1
1
1
1
1
1
1
0
1
1
1
0
1
1
1
1
1
1
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
5 3
6 4
4 2
2 1
7 6
6 2
6 4
8 6
6 2
6 4
9 8
8 4
4 2
2 1
10 6
6 4
4 2
2 1
11 10
10 4
4 2
2 1
12 8
8 4
8 6
6 10
13 12
12 6
6 2
2 1
14 8
8 4
4 2
4 6
15 14
14 6
14 12
12 8
16 10
10 6
6 2
2 1
17 16
16 10
10 6
6 2
2 1
18 14
14 4
4 6
4 2
19 18
18 10
10 4
10 6
20 12
12 10
10 4
4 2
2 ...

Interactor to Second Run

100
0
0
0
1
0
0
0
1
1
0
1
1
1
0
0
0
1
1
0
1
1
1
0
1
1
1
1
0
1
0
1
1
1
1
1
1
1
0
1
1
1
0
1
1
1
0
1
1
1
0
1
1
1
1
0
1
1
1
1
0
1
0
0
1
0
1
1
1
1
1
0
0
1
0
1
1
1
1
0
1
1
1
1
0
1
1
1
1
1
0
1
1
1
0
1
1
1
1
1
0
0
1
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
1
0
1
0
1
1
1
1
1
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
6 5
8 4
4 2
4 3
9 8
9 6
6 5
10 8
10 9
9 6
6 5
11 5
11 10
10 9
9 6
12 5
5 3
5 8
13 12
13 10
10 9
9 6
14 12
12 4
4 2
2 1
15 14
15 13
13 9
9 6
16 14
16 10
10 9
9 6
17 6
17 16
16 10
10 9
18 6
18 17
17 16
16 10
10 9
19 9
19 18
18 17
17 16
16 10
20 9
20 13
13 17...

Manager to Checker

OK
good job!

result:

ok OK

Test #41:

score: 100
Accepted
time: 2ms
memory: 3592kb

Interactor to First Run

100
0
1
1
1
1
0
0
1
0
1
1
1
1
0
0
0
0
1
1
1
1
1
0
1
1
0
1
1
1
0
1
1
1
0
1
1
0
0
1
0
1
0
1
0
1
0
1
1
1
0
1
1
0
1
1
1
0
1
1
1
1
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
0
1
0
1
1
1
1
1
1
0
0
1
0
0
0
1
1
1
0
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
5 3
6 4
4 2
7 6
6 2
2 1
8 4
4 2
4 6
9 8
9 3
9 5
10 8
8 4
4 2
2 1
11 10
11 5
5 3
3 7
12 10
10 4
4 2
2 1
13 12
12 10
10 2
2 1
14 6
6 4
4 2
4 10
15 14
14 10
14 12
12 6
16 8
8 10
8 2
2 1
17 16
16 10
10 8
8 2
18 14
14 4
4 8
4 2
2 1
19 18
18 10
18 6
6 16
20 12
12 10
10 4
10 8
21 20...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #42:

score: 100
Accepted
time: 4ms
memory: 3656kb

Interactor to First Run

100
1
1
0
0
0
1
0
0
1
1
0
0
1
0
1
1
0
0
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
0
1
0
0
1
1
1
0
0
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
0
1
1
0
1
0
1
0
1
1
0
1
0
0
0
1
1
1
1
1
1
1
1
1
1
0
1
1
1
0
1
1
1
0
1
0
1
1
1
1
0
1
1
1
0
0
1
1
1
1
0
1
1
1
1
0
1
1
0
1
1
1
1
1
1
1
1
0
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
6 3
6 4
4 5
7 4
7 6
8 4
4 2
4 3
9 8
8 3
8 4
10 8
8 3
3 2
2 1
11 10
10 3
3 2
2 1
12 4
4 3
3 2
2 1
13 12
12 4
4 2
2 1
14 8
8 3
8 10
8 12
15 14
14 3
3 2
3 4
16 10
10 4
4 2
2 1
17 16
16 10
10 4
4 2
2 1
18 12
12 3
3 4
4 10
19 18
18 10
10 3
3 2
2 1
20 8
8 4
8 16
16 14
21 20
20 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
1
1
0
1
1
0
1
1
1
0
1
1
1
1
0
0
0
1
1
1
0
1
1
1
0
1
1
1
1
0
0
1
0
1
0
1
0
1
1
1
1
0
1
1
1
1
1
0
0
1
0
0
1
0
1
1
1
1
0
0
0
1
1
1
1
1
0
1
0
0
1
1
1
1
0
1
1
1
1
0
1
1
1
1
1
1
1
0
1
0
1
1
0
1
1
0
0
1
0
0
1
1
1
1
1
0
1
0
1
0
1
1
1
1
0
1
1
1
1
1
0
1
1
1
1
1
0
1
1
1
1
1
0
1
1
1
1
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
6 5
9 5
9 8
8 6
10 5
10 9
9 8
8 6
11 6
11 10
10 9
9 8
12 6
6 3
6 5
13 12
13 10
10 9
9 8
14 12
14 13
13 9
9 8
15 8
15 14
14 13
13 9
16 8
8 4
8 6
8 12
17 16
17 10
10 13
10 9
18 16
18 17
17 13
13 10
10 9
19 9
19 18
18 17
17 13
13 10
20 9
9 5
9 12
9 8
8 6
...

Manager to Checker

OK
good job!

result:

ok OK

Test #43:

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

Interactor to First Run

100
0
0
0
0
1
1
1
1
0
1
1
0
0
1
0
1
0
1
1
0
0
0
1
1
1
1
1
0
0
1
0
1
0
1
0
0
1
1
1
1
1
1
0
0
1
0
1
0
1
1
0
0
0
1
0
0
0
1
1
1
1
0
1
1
1
1
0
1
1
0
0
0
1
1
1
1
1
1
0
1
1
0
1
1
0
1
1
1
0
0
1
1
1
1
1
0
1
1
1
0
1
0
1
1
1
1
1
1
1
1
1
0
1
1
1
0
1
1
0
0
0
0
1
1
1
1
1
1
1
1
1
0
0
1
1
0
1
0
1
1
0
1
1
1
1
1
1
1
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
3 2
2 1
6 3
3 2
7 6
6 2
2 1
8 3
8 5
5 7
9 5
5 6
5 2
2 1
10 3
10 8
10 4
11 9
9 5
5 2
2 1
12 3
3 5
3 2
13 12
12 5
12 6
6 9
14 12
12 5
12 9
15 14
14 5
5 2
2 1
16 12
12 3
3 2
3 5
17 16
16 12
16 6
6 14
18 9
9 12
12 14
12 6
19 18
19 7
7 13
7 15
7 17
20 18
18 9
9 3
3 2
2 1
21 20
20 18
1...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #44:

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

Interactor to First Run

100
0
0
0
0
0
0
0
1
0
1
1
1
1
1
0
1
0
1
0
0
0
1
1
1
1
1
0
0
1
1
1
0
1
1
0
0
1
1
0
0
1
1
1
0
1
0
1
0
1
0
1
0
1
0
0
1
1
1
1
1
1
1
1
1
0
1
1
0
0
0
1
1
1
1
1
1
0
1
1
1
1
1
0
1
1
1
0
0
1
1
1
1
0
1
0
1
1
1
0
0
1
1
0
0
0
1
1
1
1
1
1
0
1
0
0
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
0
0
1
1
0
1
1
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
4 2
2 1
8 3
3 2
2 1
9 8
8 3
8 4
10 8
10 5
10 6
11 9
9 3
3 2
2 1
12 8
8 3
8 4
13 12
12 9
9 2
2 1
14 8
8 3
3 2
3 9
15 14
14 9
9 2
9 3
16 4
4 9
9 8
8 14
17 16
16 8
16 9
9 14
18 12
12 8
12 14
14 16
19 18
18 8
18 14
18 16
20 18
18 8
8 3
3 2
2 1
21 20
20 18
18 3
3 2...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
1
1
0
1
1
0
1
1
0
0
0
0
1
0
0
0
1
1
1
0
1
1
1
1
0
0
0
1
1
1
0
1
1
1
0
1
1
1
0
1
1
1
1
0
1
1
1
1
1
0
0
1
1
0
1
0
0
1
1
0
0
1
0
1
1
1
1
0
1
1
1
1
0
1
1
1
1
1
0
0
0
1
0
1
1
1
1
1
0
0
0
0
1
0
1
1
1
0
1
0
0
0
1
1
1
1
1
0
1
0
1
0
1
1
1
1
1
0
0
1
0
0
1
1
1
1
1
1
0
1
0
1
0
1
1
1
1
1
1
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
6 5
8 4
8 6
6 5
9 5
9 8
8 6
10 5
10 9
10 7
11 6
11 7
7 9
7 8
12 6
12 9
9 8
8 7
13 7
13 12
12 9
9 8
14 7
7 4
7 6
15 14
15 13
13 9
9 8
16 14
16 12
12 9
9 8
17 8
17 16
16 12
12 9
18 8
18 17
17 16
16 12
12 9
19 9
19 18
18 17
17 16
16 12
20 9
9 5
9 14
9 7
7 6
21 20...

Manager to Checker

OK
good job!

result:

ok OK

Test #45:

score: 100
Accepted
time: 2ms
memory: 3656kb

Interactor to First Run

100
0
1
1
0
0
1
1
1
1
1
1
0
0
1
0
0
1
0
0
1
1
0
0
0
0
1
1
1
0
0
1
0
0
0
1
0
1
1
0
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
0
0
1
0
1
1
0
1
1
0
1
1
1
0
0
0
1
1
1
1
1
1
1
0
0
1
1
1
1
1
1
0
0
1
1
1
0
0
1
1
1
1
1
1
0
1
1
1
0
1
1
1
0
1
0
1
1
1
1
1
1
0
0
1
0
1
0
1
0
0
1
0
1
0
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
1
1
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
2 1
6 3
3 2
2 1
7 6
7 4
8 6
6 2
6 3
9 8
8 3
8 6
10 8
8 3
3 2
11 10
11 4
11 7
12 10
10 3
3 2
2 1
13 12
13 4
4 5
4 9
14 12
14 13
13 9
13 5
15 4
4 10
4 2
2 1
16 12
12 3
3 2
2 1
17 16
16 12
12 3
3 2
18 6
6 4
4 3
3 2
2 1
19 18
18 12
12 3
12 4
20 8
8 12
8 3
3 2
2 1
21 20
20 12
...

Interactor to Second Run

100
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
1
0
0
1
1
0
0
0
0
1
0
1
0
0
0
1
1
0
0
1
1
0
1
1
1
0
1
0
0
0
1
1
1
1
0
1
0
0
1
1
1
1
1
0
0
1
0
1
0
1
1
1
1
0
1
0
0
1
1
1
1
0
1
1
1
1
0
1
1
1
1
0
1
1
1
1
0
1
1
1
1
1
1
0
1
1
0
1
0
0
1
1
0
0
1
0
0
1
1
1
1
1
0
1
1
0
0
1
0
1
1
1
0
0
0
0
0
1
1
1
1
1
1
0
0
0
1
0
1
1
1
1
1
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
8 4
8 6
6 5
9 5
9 8
8 6
10 5
10 9
9 8
8 6
11 6
11 10
11 7
12 6
6 3
6 5
5 4
13 12
13 10
13 11
11 7
14 12
14 7
14 13
13 11
15 8
15 11
11 10
10 9
16 8
16 7
7 10
7 9
17 7
17 16
16 10
10 9
18 7
7 5
7 12
12 8
19 18
19 17
17 16
16 10
10 9
20 18
18 5
18 8
18 12
21...

Manager to Checker

OK
good job!

result:

ok OK

Test #46:

score: 100
Accepted
time: 4ms
memory: 3716kb

Interactor to First Run

100
0
0
0
0
1
0
1
1
1
0
0
1
1
0
0
1
1
1
0
1
1
1
1
1
1
0
0
1
1
1
0
1
1
0
1
1
0
1
0
1
0
1
1
1
0
1
1
0
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
1
0
1
1
0
0
1
1
1
1
0
1
0
1
1
1
1
1
0
1
1
1
0
0
0
1
1
0
1
1
0
1
0
0
1
1
1
1
0
1
1
1
1
1
1
1
1
0
1
0
1
1
1
0
0
1
1
1
1
0
1
1
1
0
0
0
1
1
1
1
1
1
1
0
0
1
1
1
1
1
1
1
0
1
1
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
3 2
6 3
3 2
2 1
7 6
7 4
8 6
6 2
2 1
9 8
9 4
4 5
10 8
8 6
8 3
11 10
10 6
6 2
2 1
12 8
8 6
8 3
13 12
12 10
10 2
2 1
14 8
8 6
6 2
6 10
15 14
14 10
14 12
12 8
16 3
3 10
3 2
2 1
17 16
16 10
16 12
12 8
18 14
18 4
4 13
13 11
19 17
17 10
10 3
3 2
2 1
20 14
14 6
14 12
14 16
21 20
20 17
17...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #47:

score: 100
Accepted
time: 3ms
memory: 3708kb

Interactor to First Run

100
0
0
0
0
1
1
0
0
0
1
0
1
1
1
0
1
0
0
0
0
1
1
1
1
1
1
0
1
0
1
1
1
0
1
1
0
1
1
0
0
1
1
1
0
0
0
1
0
0
1
1
1
1
1
1
0
0
1
1
1
1
1
0
1
0
0
0
1
1
1
1
1
1
0
1
0
1
1
0
1
1
0
1
1
1
0
1
1
1
0
0
0
1
1
1
1
0
1
1
0
1
1
1
0
1
0
0
1
0
1
1
1
1
0
1
0
0
1
1
1
0
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
0
1
1
1
0
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
3 2
2 1
6 3
6 4
7 5
5 2
5 3
8 5
5 2
2 1
9 8
8 5
8 3
10 8
10 4
10 6
11 9
9 5
5 2
2 1
12 8
8 5
8 3
3 9
13 12
12 3
3 2
2 1
14 8
8 5
5 2
5 3
15 14
14 5
14 12
14 9
16 14
14 5
5 2
5 3
17 16
17 7
7 13
7 15
18 16
16 14
14 3
3 2
2 1
19 18
18 5
18 12
18 9
20 18
18 5
5 3
3 2
2 1
21 20
20 18...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #48:

score: 100
Accepted
time: 3ms
memory: 3720kb

Interactor to First Run

100
0
0
0
1
0
0
0
1
0
0
1
0
1
0
0
0
0
0
1
0
0
1
1
1
1
1
1
1
0
0
1
1
1
1
1
0
1
0
0
0
1
1
0
0
1
1
1
1
1
0
0
1
1
1
0
1
0
0
1
0
1
1
0
1
1
0
0
1
1
0
1
0
1
0
0
0
1
1
1
1
1
1
1
1
1
0
1
0
1
0
0
1
1
0
1
0
1
0
0
1
0
1
1
1
1
1
1
1
0
1
1
1
1
1
1
0
1
1
0
0
0
1
1
0
0
1
1
1
0
1
0
1
1
1
1
1
1
1
1
0
1
1
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
6 5
8 4
4 2
4 3
9 8
9 6
9 7
10 8
8 3
8 4
11 10
10 3
3 2
2 1
12 8
8 3
3 2
2 1
13 12
13 6
6 5
5 11
14 12
12 8
8 2
8 3
15 14
15 13
15 9
16 14
14 8
8 2
8 3
17 16
16 14
14 3
3 2
2 1
18 4
18 13
18 9
9 7
19 17
17 8
17 10
10 12
10 16
20 4
4 8
4 3
3 2
2 1
21 20
20 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #49:

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

Interactor to First Run

100
0
0
0
0
0
0
1
1
1
1
1
0
1
0
0
1
1
1
1
0
1
0
1
1
1
0
0
0
0
0
1
1
1
0
0
0
1
1
1
1
1
0
0
1
1
0
0
0
1
0
0
1
0
1
1
0
1
1
1
1
0
1
1
1
1
1
1
1
0
0
1
0
1
1
1
1
1
1
1
1
1
0
0
1
1
0
0
0
1
1
0
1
0
0
1
0
0
1
0
1
1
1
1
1
1
0
0
1
1
1
1
0
0
1
0
0
1
0
1
1
1
0
1
1
1
1
1
1
1
1
0
1
0
1
0
1
1
1
1
1
1
1
1
1
0
1
1
1
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
3 2
2 1
7 6
6 2
2 1
8 3
3 2
3 6
9 8
8 3
3 2
2 1
10 6
10 4
4 7
4 9
11 4
4 3
3 2
12 6
12 7
12 5
13 11
13 10
10 7
7 9
14 11
14 13
14 12
15 7
7 4
4 2
2 1
16 11
11 3
11 8
11 6
17 16
16 7
16 6
16 11
18 16
16 7
16 6
16 11
19 18
19 13
13 9
9 15
9 17
20 18
18 7
7 4
4 2
21 20
20 18...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #50:

score: 100
Accepted
time: 2ms
memory: 3736kb

Interactor to First Run

100
0
0
0
0
0
0
0
0
1
1
0
0
1
0
1
1
1
1
0
1
0
0
1
0
1
1
1
1
0
0
0
1
1
1
0
1
1
0
0
0
1
1
0
1
0
0
0
0
1
1
0
1
1
1
1
1
1
0
0
1
0
1
1
1
0
0
1
0
0
1
1
1
1
0
0
1
1
1
1
1
0
1
0
0
1
1
1
0
0
1
0
1
1
0
1
0
1
0
1
1
0
1
1
1
1
0
0
1
0
0
1
1
1
1
0
1
1
0
0
0
0
1
1
0
1
1
0
1
0
1
0
1
1
1
1
0
0
0
0
1
0
0
0
0
1
0
0
1
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
4 2
2 1
8 3
8 5
5 7
9 5
5 4
4 2
2 1
10 3
10 8
8 7
11 9
11 10
10 8
12 9
9 4
4 2
2 1
13 12
13 10
13 6
14 12
12 9
9 2
2 1
15 14
14 4
4 2
4 9
16 3
16 10
10 7
7 15
17 7
7 14
7 4
7 9
18 3
18 16
16 10
10 15
10 17
19 10
10 9
9 4
4 2
2 1
20 3
20 8
20 6
6 11
6 18
21 19
19 1...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
1
0
1
0
1
0
1
1
0
1
0
0
1
0
0
1
1
0
1
0
0
1
0
0
0
1
0
1
1
1
0
1
1
1
0
0
1
1
0
1
0
0
0
0
1
0
0
1
0
0
1
1
0
1
1
0
1
1
0
0
1
1
0
1
0
0
1
0
0
1
0
0
0
1
0
1
0
1
0
1
0
1
0
1
1
1
0
1
0
0
0
1
0
1
1
1
1
0
0
0
1
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
6 5
8 4
8 6
8 7
9 5
9 7
7 6
10 5
10 9
9 7
11 6
11 10
11 8
12 6
12 10
10 9
13 7
13 12
13 11
14 7
14 8
8 10
8 9
15 8
15 14
14 10
14 12
16 8
16 14
14 10
10 9
17 9
9 5
9 7
9 8
18 9
18 16
18 11
11 15
19 17
19 11
11 12
11 14
11 10
20 17
20 16
20 18
20 13
21 10
21 19...

Manager to Checker

OK
good job!

result:

ok OK

Test #51:

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

Interactor to First Run

100
0
1
1
1
0
0
0
1
0
0
0
0
0
0
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
0
1
0
1
1
1
1
0
0
0
1
0
0
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
1
0
1
1
1
0
1
1
1
0
1
1
1
0
1
1
1
0
0
1
0
1
1
1
1
0
1
0
0
0
0
1
0
1
1
0
1
0
1
0
1
0
1
0
0
1
1
0
0
1
0
1
0
0
1
1
1
0
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
5 3
6 4
4 2
7 6
7 5
8 6
8 5
8 7
9 3
3 4
4 6
10 6
6 3
6 4
11 10
11 7
11 8
12 10
12 7
12 11
13 9
9 4
9 10
9 6
14 10
10 4
4 2
2 1
15 14
14 3
3 2
2 1
16 9
9 4
9 10
9 14
17 16
17 7
17 11
17 12
18 16
18 8
18 12
18 17
19 15
15 9
9 3
3 2
2 1
20 16
16 4
4 3
3 2
2 1
21 20
20 16
20 10
1...

Interactor to Second Run

100
0
0
0
1
0
0
0
1
0
0
1
0
0
1
0
0
1
1
0
1
1
0
0
0
0
0
0
0
0
0
1
1
0
1
1
1
1
0
1
1
0
1
0
1
0
0
0
0
0
0
0
0
0
1
1
0
0
1
1
1
1
0
1
1
1
0
1
0
1
0
1
0
0
1
1
0
1
0
1
1
0
1
1
1
1
1
0
0
1
0
0
0
1
0
1
0
1
1
1
1
0
1
1
1
1
1
0
1
1
0
1
1
0
1
1
0
0
1
1
0
1
0
0
1
1
1
0
0
0
0
0
1
1
0
1
0
0
0
1
0
1
1
1
1
1
1
0
1
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
6 5
8 4
8 6
6 5
9 5
9 8
8 6
10 5
10 9
9 8
8 6
11 6
11 10
11 7
12 6
12 10
12 11
13 8
13 7
13 12
12 11
14 8
14 11
11 10
10 9
15 9
9 4
9 6
6 5
16 8
16 7
7 10
7 15
17 7
17 16
17 12
17 13
18 7
18 14
18 13
18 17
19 15
19 12
12 16
16 14
20 15
20 16
16 12
12 11
11...

Manager to Checker

OK
good job!

result:

ok OK

Test #52:

score: 100
Accepted
time: 2ms
memory: 3676kb

Interactor to First Run

100
0
0
0
0
0
0
0
0
1
1
1
0
1
0
0
0
0
0
1
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
1
1
1
0
1
0
1
0
0
1
1
0
1
0
0
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
0
0
1
0
1
1
1
0
1
1
0
0
0
1
0
0
1
0
1
1
0
1
0
0
1
0
1
1
1
1
0
1
0
0
1
1
1
1
0
1
0
1
0
0
1
1
0
1
0
1
0
0
0
0
1
0
1
0
0
1
1
0
1
1
1
1
1
1
1
1
0
1
0
0
0
0
1
0
1
1
1
0
1
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
4 2
2 1
8 3
8 5
5 7
9 5
9 8
9 6
10 5
10 6
6 8
6 7
11 6
11 10
10 8
8 7
12 6
6 4
4 2
2 1
13 12
13 10
13 9
14 12
14 11
11 8
11 10
15 7
7 6
6 2
6 4
16 12
16 11
11 8
11 10
17 15
15 7
7 4
7 6
18 12
18 16
18 9
9 14
19 17
17 7
7 4
4 2
2 1
20 12
12 6
6 4
4 2
2 1
21 20
20 1...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #53:

score: 100
Accepted
time: 3ms
memory: 3660kb

Interactor to First Run

99
1
0
0
1
1
1
1
1
1
0
1
1
0
1
0
1
0
1
1
0
1
0
1
0
1
1
0
1
0
0
1
0
1
1
0
1
1
1
0
0
1
1
0
0
1
1
0
1
1
0
0
0
1
1
1
1
0
1
1
1
1
1
0
0
1
1
1
1
1
1
1
0
0
0
1
1
0
0
0
1
0
0
1
0
0
0
0
1
1
1
0
0
1
0
0
1
0
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
0
0
1
1
1
1
0
1
1
1
0
0
0
1
0
0
0
1
0
1
1
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
3 2
2 1
6 3
3 2
2 1
7 6
6 2
2 1
8 3
3 2
3 6
9 8
9 5
5 7
10 8
10 9
9 7
11 5
5 3
5 8
12 8
8 3
8 5
5 6
13 12
13 9
9 7
14 12
12 5
5 2
5 3
15 14
14 5
5 2
5 3
16 8
8 5
5 2
5 3
17 16
16 8
8 3
8 5
18 6
6 8
6 3
6 5
19 18
18 6
6 3
3 2
2 1
20 12
12 5
5 3
3 2
2 1
21 20
21 7
21 10
10 13
22 20...

Interactor to Second Run

99
0
0
0
0
0
1
1
0
0
1
0
0
1
1
0
0
1
0
0
0
1
0
1
1
0
1
0
1
0
0
1
0
0
1
1
1
0
1
1
0
0
1
1
0
1
0
0
0
0
1
1
1
1
0
0
1
0
1
0
1
0
0
0
0
0
0
1
0
1
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
0
0
0
1
0
1
1
0
0
0
1
1
0
1
1
1
0
1
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
1
0
1
0
0
0
0
1
1
0
1
0
1
0
0
0
0
1
1
0
1
0
1
0
0
0
0
1
1
0
0
0...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
3 2
7 6
7 5
5 4
8 6
8 5
5 4
9 4
9 8
9 7
10 4
10 7
10 9
11 5
5 3
5 4
4 6
12 5
12 7
7 8
7 11
13 7
13 12
13 10
10 9
14 7
14 9
9 8
8 11
15 8
15 14
14 9
9 11
16 8
16 12
12 11
11 9
17 9
9 6
9 7
9 8
18 9
18 16
16 12
12 11
11 17
19 11
19 18
19 10
10 15
20 11
11 6
11 8
8 7
21 20
2...

Manager to Checker

OK
good job!

result:

ok OK

Test #54:

score: 100
Accepted
time: 3ms
memory: 3676kb

Interactor to First Run

99
0
0
0
0
1
1
1
0
0
1
1
1
1
1
0
1
1
1
0
0
1
0
1
1
1
1
1
0
1
0
0
0
0
0
0
0
1
0
1
1
1
0
1
0
0
0
1
1
1
1
1
0
0
1
1
1
1
1
0
1
0
0
0
0
1
0
0
1
0
0
1
1
0
0
1
1
1
0
0
1
1
0
0
1
1
0
1
1
1
0
1
1
1
1
0
1
0
1
0
0
1
0
1
0
1
1
0
1
1
0
0
1
1
0
0
0
0
1
0
0
0
1
0
0
0
1
0
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
0
1
1
1
1
0
0...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
3 2
2 1
6 3
6 4
7 5
5 2
2 1
8 3
3 2
2 1
9 8
8 3
3 2
2 1
10 5
10 4
4 7
4 9
11 4
4 3
3 2
2 1
12 5
12 7
7 9
7 11
13 7
13 12
13 6
14 7
14 10
14 13
13 6
15 11
11 4
4 2
2 1
16 7
7 3
7 8
7 11
17 16
16 7
7 4
4 2
2 1
18 5
18 10
18 13
13 6
19 17
17 3
3 4
4 7
20 5
5 7
5 3
5 4
21 20
21 10
10...

Interactor to Second Run

99
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
1
0
0
1
0
1
1
0
0
1
0
0
0
0
0
0
0
1
0
0
1
1
1
0
0
1
0
0
1
0
0
0
0
0
1
1
0
0
1
1
0
0
0
1
1
1
0
1
1
0
1
0
0
1
1
1
0
0
0
1
0
0
0
0
0
1
1
0
0
1
0
1
0
1
0
0
1
1
0
1
0
1
0
1
0
0
1
1
0
0
1
0
0
0
0
1
1
1
1
0
1
1
1
1
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
1
1
1
0
0
1
1
0
0
0
1
0...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
4 2
4 3
8 4
8 5
8 6
9 7
9 6
9 8
10 7
10 8
10 9
11 5
11 9
9 8
8 6
12 5
12 9
9 8
13 6
13 12
13 10
14 6
14 11
14 13
15 8
8 4
8 5
8 6
16 8
8 4
4 2
4 3
17 16
16 8
16 5
16 6
18 16
18 11
18 13
18 14
19 17
19 10
10 12
12 11
20 17
20 12
12 10
10 9
21 15
21 20
21 14
14 13
1...

Manager to Checker

OK
good job!

result:

ok OK

Test #55:

score: 100
Accepted
time: 2ms
memory: 3600kb

Interactor to First Run

100
1
1
0
1
1
0
1
0
0
1
0
0
1
1
1
1
0
0
0
1
0
0
0
1
1
0
0
1
1
0
1
1
0
1
0
1
1
0
0
1
1
0
1
1
0
0
1
0
1
0
0
1
1
0
0
1
1
1
1
1
0
1
0
0
1
0
0
1
1
0
0
0
0
1
1
1
1
1
0
1
1
0
1
1
1
0
1
1
1
1
0
1
1
0
1
0
0
0
0
1
0
1
1
0
1
1
0
0
1
1
1
0
0
0
0
1
1
0
0
1
0
1
0
1
0
0
1
0
0
0
1
1
0
1
0
1
0
1
1
0
1
0
0
1
0
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
5 3
6 4
6 5
7 3
3 2
3 4
8 4
4 2
2 1
9 8
8 4
8 3
10 8
10 5
5 7
5 9
11 5
11 10
10 7
7 9
12 5
12 10
10 9
9 7
13 7
7 3
3 2
3 4
14 5
14 12
12 9
9 13
15 9
15 14
14 12
12 13
16 9
9 4
4 2
4 3
17 16
16 9
16 8
8 7
18 5
18 10
10 13
13 14
19 17
19 18
18 13
13 10
10 12
20 17
17 9
17 16
16...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #56:

score: 100
Accepted
time: 4ms
memory: 3588kb

Interactor to First Run

98
1
0
1
0
1
1
0
0
1
1
1
1
0
0
1
0
1
1
1
0
0
1
0
0
0
0
1
1
0
1
1
1
1
0
1
0
1
0
0
1
0
0
0
0
0
0
0
0
1
1
1
0
0
1
1
1
0
1
0
1
0
1
0
0
1
1
1
0
0
0
1
0
0
1
1
1
0
1
1
0
1
0
0
1
0
1
1
0
0
0
1
1
1
1
1
1
0
0
0
0
1
1
0
1
1
0
0
0
0
1
1
1
1
0
1
0
1
0
1
0
1
1
1
0
1
0
1
0
1
1
1
0
1
0
1
0
0
0
0
1
0
1
0
1
1
0
1
1
1...

First Run to Interactor

2 1
3 2
4 2
2 1
5 4
4 2
2 1
6 4
6 3
3 5
7 3
3 2
2 1
8 4
8 5
5 7
9 5
5 3
3 2
2 1
10 4
10 8
8 7
11 9
11 10
11 6
12 9
9 3
3 2
13 12
12 9
9 2
2 1
14 4
14 10
10 7
10 8
15 13
15 14
15 11
11 6
16 13
16 14
16 11
16 15
17 7
17 6
17 15
17 16
18 7
7 12
12 4
12 13
19 18
18 7
7 9
9 3
20 13
13 9
13 4
4 5
4 18
21 ...

Interactor to Second Run

98
0
0
0
0
0
0
0
1
1
0
1
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
1
1
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
1
1
0
1
0
1
0
0
0
1
1
1
0
1
0
1
1
0
0
0
1
1
0
1
1
0
1
0
0
0
1
0
0
1
1
1
0
0
0
1
0
0
1
0
0
0
0
1
0
0
1
0
0
0
1
0
0
0
1
1
0
0
0
1
0
0
1
0
1
1
0
0
0
1
1
0
0
0
0...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
6 5
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
8 7
7 6
11 6
6 3
6 5
12 6
12 8
12 9
13 11
13 10
13 12
12 9
14 11
14 9
14 13
15 7
15 12
15 14
14 13
16 7
16 12
16 14
16 15
17 8
17 13
17 15
17 16
18 8
18 14
18 16
16 15
19 10
19 15
19 18
18 16
20 10
20 15
20 19
19 18
18...

Manager to Checker

OK
good job!

result:

ok OK

Test #57:

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

Interactor to First Run

99
0
0
0
0
1
1
0
0
1
1
1
1
1
0
0
1
1
1
0
1
0
1
0
0
1
1
0
0
0
0
1
0
0
1
0
1
0
1
1
1
1
1
1
0
1
1
1
0
1
0
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
0
1
0
0
1
0
0
0
0
1
1
1
1
1
1
0
0
0
1
0
0
1
1
1
0
0
1
0
1
0
1
1
0
0
1
0
0
1
1
0
1
0
0
0
0
1
1
0
1
1
0
0
1
0
0
0
1
0
0
0
1
1
0
1
1
0
0
0
1
0
1
0
0
1
1
0
0
1
0
1
1
1
0
0...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
3 2
2 1
6 3
6 4
4 5
7 4
4 2
2 1
8 3
8 5
8 6
9 7
7 4
4 2
10 3
3 4
3 2
2 1
11 10
11 6
6 5
5 9
12 10
12 6
12 8
13 5
5 4
5 10
5 7
14 10
14 11
11 9
11 6
15 13
13 4
4 2
2 1
16 10
10 3
10 5
5 13
17 16
16 5
16 10
10 13
18 7
18 11
18 8
18 12
19 17
19 14
14 6
14 11
20 17
17 5
17 16
16 13
2...

Interactor to Second Run

99
0
0
0
1
1
0
0
0
0
1
1
0
0
0
0
0
0
1
0
1
1
0
0
0
0
1
0
0
1
1
0
0
1
0
0
0
0
1
1
1
1
0
0
0
1
1
0
0
0
0
0
0
0
0
0
1
0
1
1
0
0
1
0
1
0
0
1
0
0
0
0
1
1
0
1
0
0
1
1
1
1
0
0
0
0
0
1
0
0
1
0
1
0
0
0
1
1
1
1
1
0
1
1
0
0
1
0
0
1
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
1
0
1
1
1
0
1
1
0
0
1
1
0
0
1
1
0
0
1
0
1
0
0
0
1...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
3 2
6 3
6 4
7 5
7 6
6 4
8 5
8 6
8 7
9 4
9 7
9 8
10 4
4 3
4 5
11 10
10 3
10 5
12 10
12 7
12 9
9 8
13 11
13 8
8 7
7 6
14 11
14 13
13 7
13 8
15 6
15 14
15 12
12 9
16 6
6 4
4 2
4 3
17 16
17 14
14 8
8 7
18 16
18 17
18 12
18 15
19 7
19 9
19 15
19 18
20 7
7 6
7 11
11 16
21 20
21 9
21 18...

Manager to Checker

OK
good job!

result:

ok OK

Test #58:

score: 100
Accepted
time: 3ms
memory: 3724kb

Interactor to First Run

100
1
1
0
0
1
1
1
0
0
1
0
0
0
0
0
1
1
1
1
1
0
0
1
0
1
1
1
1
1
1
0
1
1
0
1
0
1
1
1
0
0
1
0
1
0
1
0
1
1
0
0
0
0
1
1
0
1
0
1
1
1
1
0
1
1
1
0
1
0
0
0
0
0
0
1
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
1
1
1
0
1
1
0
1
0
0
1
0
0
1
0
1
0
0
1
0
0
1
1
1
0
1
1
0
1
0
0
0
0
1
0
1
1
0
0
0
1
0
0
0
1
1
0
0
1
1
1
0
0
0
0
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
2 1
6 3
6 4
4 5
7 4
7 6
8 4
8 6
8 7
9 5
5 3
3 2
2 1
10 4
10 7
10 8
11 9
11 8
8 7
7 6
12 9
9 3
3 2
2 1
13 12
12 9
9 2
9 3
14 4
14 8
8 6
6 13
15 6
15 14
15 10
10 11
16 6
6 9
6 2
2 1
17 16
16 9
9 6
9 3
18 4
18 14
18 11
11 10
19 17
19 10
10 7
10 14
20 17
17 9
9 6
6 2
21 20
20...

Interactor to Second Run

100
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
1
0
0
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
1
0
1
0
0
0
1
0
1
0
1
0
1
0
0
1
0
1
0
1
0
1
1
0
1
0
0
0
1
0
1
0
1
0
0
0
0
0
0
0
1
1
1
0
0
0
1
1
0
1
1
1
0
0
0
0
0
0
1
0
1
1
0
1
0
1
1
0
1
1
0
1
0
1
0
0
1
0
1
1
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
1
1
0
1
0
1
0
0
0
0
1
1
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
7 6
10 5
10 9
10 8
11 6
11 8
11 10
12 6
12 8
8 9
8 7
13 7
7 4
4 2
4 3
14 6
14 12
14 11
15 13
15 10
15 14
16 13
16 10
16 14
14 11
17 8
17 11
11 12
11 9
18 8
18 17
18 16
18 15
19 9
19 14
14 10
14 17
20 9
20 17
17 10
17 14
21 11
11 5
11 8
8 13...

Manager to Checker

OK
good job!

result:

ok OK

Test #59:

score: 100
Accepted
time: 3ms
memory: 3652kb

Interactor to First Run

99
0
1
0
1
1
1
0
0
1
1
0
1
0
1
1
0
0
1
1
1
0
1
1
1
1
1
1
0
0
1
1
1
0
0
1
1
0
1
0
0
1
1
0
1
1
0
0
1
1
0
0
1
0
0
0
1
0
0
1
0
1
0
0
1
1
0
1
1
0
0
1
1
1
1
0
1
1
1
1
1
1
1
1
0
1
0
0
0
1
0
0
1
1
0
0
1
0
1
0
0
1
1
0
1
1
0
1
1
1
1
1
0
0
1
0
1
1
0
1
0
1
1
0
0
0
0
1
1
0
1
1
1
0
0
1
0
0
1
1
0
0
0
1
1
1
1
0
0
1...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
6 4
6 3
3 5
7 3
7 6
6 5
8 3
3 2
2 1
9 8
9 6
6 5
10 8
8 3
8 4
11 10
10 3
3 2
2 1
12 8
8 3
8 4
13 12
12 10
10 2
2 1
14 8
14 6
6 11
11 5
15 13
13 3
13 4
13 8
16 13
13 3
13 4
4 12
17 16
17 11
17 9
9 14
18 16
18 9
18 17
17 14
19 15
19 14
19 18
18 17
20 15
20 14
14 11
14 9
21 6...

Interactor to Second Run

99
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #60:

score: 100
Accepted
time: 4ms
memory: 3652kb

Interactor to First Run

99
0
1
1
1
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
1
1
0
0
0
1
0
0
0
1
1
0
1
0
0
1
1
0
1
0
0
1
0
1
1
0
1
0
0
0
1
1
1
0
1
1
0
0
1
1
1
1
1
0
0
1
0
1
1
1
0
0
1
0
1
0
0
1
0
1
1
0
1
0
1
1
1
0
1
1
1
0
1
0
1
0
1
0
0
1
0
0
0
1
1
0
0
1
1
0
0
0
1
1
0
1
0
0
0
0
1
1
1
0
1
0
1
1
1
0
0
1
0
1
0
0
0
0
1
1
1
1
0
1
1
1
1
1...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
5 3
6 4
6 5
5 3
7 3
3 2
3 4
8 4
8 5
5 7
9 5
5 3
5 4
10 5
10 8
8 7
7 9
11 7
11 10
11 6
12 7
7 3
7 5
13 12
13 10
10 8
8 9
14 12
12 4
12 7
15 14
14 4
4 2
4 3
16 12
16 10
16 6
6 13
17 15
15 14
14 3
14 4
18 12
18 6
18 16
18 11
19 17
17 14
14 3
14 4
20 12
12 14
12 3
12 4
21 20
20 1...

Interactor to Second Run

99
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #61:

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

Interactor to First Run

100
1
1
0
1
1
0
1
1
0
1
0
1
0
0
0
1
0
0
1
1
0
1
0
1
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
0
0
0
0
0
0
1
1
1
0
1
0
1
1
1
0
0
0
0
1
1
1
0
0
1
0
0
1
0
0
0
1
0
0
0
1
0
0
1
0
1
1
1
0
1
0
1
1
1
1
0
1
1
1
1
0
0
0
1
0
0
0
0
1
1
1
0
1
0
0
0
1
1
1
0
0
0
1
0
0
1
0
1
0
1
1
0
1
0
0
0
1
0
0
1
0
0
0
1
0
0
1
0
0
0
1
0
0
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
5 3
6 4
4 2
7 6
6 2
6 4
8 6
8 3
8 5
9 7
7 4
7 6
10 7
7 4
4 2
11 10
10 4
10 6
6 7
12 10
10 4
10 7
13 12
12 6
12 10
14 12
14 3
3 11
11 9
15 13
13 6
13 10
13 12
16 13
16 11
16 5
16 8
17 15
17 14
17 8
8 5
18 15
15 7
15 12
12 10
19 18
18 7
7 4
4 2
20 13
20 14
20 17
20 16
21 19
19 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #62:

score: 100
Accepted
time: 2ms
memory: 3720kb

Interactor to First Run

99
0
1
1
1
0
1
0
1
0
1
1
0
1
1
0
1
1
1
1
1
0
1
0
1
0
0
0
0
0
0
0
1
1
1
0
1
0
0
1
0
0
1
0
1
0
1
1
0
0
1
0
0
0
0
1
1
1
0
1
0
1
0
1
1
1
0
1
1
0
0
1
1
1
1
1
1
1
1
0
1
1
1
1
1
0
0
1
0
0
0
1
1
0
1
0
1
1
0
1
0
1
0
1
0
0
1
1
1
0
0
0
1
1
0
0
1
1
0
1
0
0
1
1
1
0
1
1
0
1
0
1
1
0
0
0
1
0
1
1
1
0
1
0
1
1
0
0
0
1...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
6 4
4 2
7 6
6 2
2 1
8 4
4 2
2 1
9 8
8 4
4 2
2 1
10 6
6 4
6 8
11 10
11 5
5 7
5 9
12 10
12 7
12 3
13 5
13 11
13 12
12 3
14 5
5 6
5 2
2 1
15 14
15 3
3 7
3 9
16 14
14 4
14 8
8 6
17 16
16 6
6 5
6 4
18 10
10 6
10 8
10 14
19 18
19 11
11 9
9 3
3 17
20 18
18 6
18 10
10 8
21 20
20 ...

Interactor to Second Run

99
0
0
0
1
0
1
0
1
0
0
0
0
1
0
0
0
1
0
1
1
1
0
0
0
0
0
0
0
0
0
1
1
1
0
0
1
1
1
0
1
0
1
0
0
1
1
1
0
0
0
0
1
0
0
1
1
1
1
1
0
0
0
1
1
0
0
0
1
0
0
0
1
1
1
0
1
0
1
1
0
0
1
1
1
0
0
0
1
0
0
0
1
1
1
0
1
0
0
1
0
1
0
0
1
0
0
0
1
1
0
1
0
1
1
0
0
1
0
0
0
1
1
1
0
0
0
1
1
0
1
0
0
1
0
1
1
0
0
0
1
0
0
1
1
1
1
1
0
1...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
8 4
8 6
6 5
9 5
9 8
9 7
10 5
10 7
7 8
11 6
6 3
6 5
12 6
12 8
12 9
13 11
13 10
13 12
14 11
14 9
9 8
8 7
15 7
15 14
15 13
13 12
16 7
7 4
7 6
6 5
17 16
16 5
16 7
16 11
18 16
16 5
5 3
5 4
19 18
19 14
19 13
13 12
20 18
20 14
14 9
9 8
8 17
21 8
8 16
8 3
8 5
22 1...

Manager to Checker

OK
good job!

result:

ok OK

Test #63:

score: 100
Accepted
time: 4ms
memory: 3672kb

Interactor to First Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #64:

score: 100
Accepted
time: 2ms
memory: 3664kb

Interactor to First Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #65:

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

Interactor to First Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
1
0
0
0
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #66:

score: 100
Accepted
time: 3ms
memory: 3656kb

Interactor to First Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #67:

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

Interactor to First Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #68:

score: 100
Accepted
time: 3ms
memory: 3652kb

Interactor to First Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #69:

score: 100
Accepted
time: 4ms
memory: 3716kb

Interactor to First Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #70:

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

Interactor to First Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #71:

score: 100
Accepted
time: 4ms
memory: 3656kb

Interactor to First Run

100
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
2 1
7 6
6 2
2 1
8 4
4 2
2 1
9 8
8 4
4 2
2 1
10 6
6 4
4 2
2 1
11 10
10 4
4 2
2 1
12 8
8 4
4 2
2 1
13 12
12 8
8 2
2 1
14 6
6 4
4 2
2 1
15 14
14 8
8 2
2 1
16 10
10 4
4 2
2 1
17 16
16 10
10 4
4 2
2 1
18 12
12 8
8 4
4 2
2 1
19 18
18 10
10 4
4 2
2 1
20 6
6 8
6 4
4 2...

Interactor to Second Run

100
0
0
0
1
0
1
0
1
1
0
1
1
0
1
1
0
1
1
1
0
1
0
1
1
1
1
1
1
1
0
1
1
1
0
1
1
1
0
1
1
1
0
1
0
1
0
1
1
1
1
0
1
0
0
1
1
1
1
0
1
0
1
1
0
1
1
1
1
1
0
1
1
0
1
1
1
1
1
0
1
1
0
0
1
1
1
1
0
1
1
1
1
0
1
1
1
1
1
0
0
1
0
1
1
0
1
1
0
0
1
1
0
1
1
1
1
1
0
0
1
1
0
1
1
1
1
1
0
1
0
0
0
1
1
1
1
1
1
0
1
1
0
0
1
1
1
1
1
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
6 5
8 4
8 6
6 5
9 5
9 8
8 6
10 5
5 3
5 4
11 10
11 9
9 8
8 6
12 10
10 3
3 2
2 1
13 12
13 9
9 8
8 6
14 12
14 13
13 8
8 6
15 6
15 14
14 13
13 8
16 6
16 9
9 13
9 8
17 8
17 16
16 13
13 9
18 8
8 4
8 12
12 6
19 18
19 17
17 16
16 13
13 9
20 18
20 14
14 16
14 13
13...

Manager to Checker

OK
good job!

result:

ok OK

Test #72:

score: 100
Accepted
time: 4ms
memory: 3656kb

Interactor to First Run

100
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
2 1
7 6
6 2
2 1
8 4
4 2
2 1
9 8
8 4
4 2
2 1
10 6
6 4
4 2
2 1
11 10
10 4
4 2
2 1
12 8
8 4
4 2
2 1
13 12
12 8
8 2
2 1
14 6
6 4
4 2
2 1
15 14
14 8
8 2
2 1
16 10
10 4
4 2
2 1
17 16
16 10
10 4
4 2
2 1
18 12
12 8
8 4
4 2
2 1
19 18
18 10
10 4
4 2
2 1
20 6
6 8
6 4
4 2...

Interactor to Second Run

100
0
0
0
1
0
1
0
1
1
0
1
1
0
1
1
0
1
1
0
1
1
1
0
1
1
1
0
1
1
1
0
1
1
1
0
1
1
1
0
1
1
1
0
1
0
1
0
1
1
1
1
0
0
0
0
1
1
1
1
1
0
1
0
0
1
0
1
1
1
0
0
1
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
1
1
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
1
0
0
1
1
1
1
1
0
1
0
1
0
1
1
1
1
1
1
0
0
1
0
1
1
1
1
1
0
1
1
1
1
1
0
1
1
1
1
1
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
6 5
8 4
8 6
6 5
9 5
9 8
8 6
10 5
10 9
9 8
8 6
11 6
11 10
10 9
9 8
12 6
12 10
10 9
9 8
13 8
13 12
12 10
10 9
14 8
14 13
13 10
10 9
15 9
15 14
14 13
13 10
16 9
16 12
12 13
12 10
17 10
17 16
16 13
13 12
18 10
10 5
10 8
10 9
19 18
19 17
17 16
16 13
13 12
20 18...

Manager to Checker

OK
good job!

result:

ok OK

Test #73:

score: 100
Accepted
time: 2ms
memory: 3716kb

Interactor to First Run

100
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
2 1
7 6
6 2
2 1
8 4
4 2
2 1
9 8
8 4
4 2
2 1
10 6
6 4
4 2
2 1
11 10
10 4
4 2
2 1
12 8
8 4
4 2
2 1
13 12
12 8
8 2
2 1
14 6
6 4
4 2
2 1
15 14
14 8
8 2
2 1
16 10
10 4
4 2
2 1
17 16
16 10
10 4
4 2
2 1
18 12
12 8
8 4
4 2
2 1
19 18
18 10
10 4
4 2
2 1
20 6
6 8
6 4
4 2...

Interactor to Second Run

100
0
0
0
1
0
1
0
1
1
0
1
1
0
1
1
0
1
1
0
1
1
1
0
1
1
1
0
1
1
1
0
1
1
1
0
1
1
1
0
1
1
1
0
1
0
1
0
1
1
1
1
0
0
1
0
1
1
1
1
1
0
0
0
0
1
0
1
1
0
1
1
1
1
0
1
1
1
1
0
1
0
1
1
0
1
1
1
1
1
0
1
0
0
1
1
1
1
1
0
0
0
0
1
0
0
1
0
1
1
1
1
0
1
1
1
1
1
0
0
0
1
0
1
1
0
1
1
0
0
1
0
0
1
1
0
1
1
1
0
0
0
1
0
1
0
1
1
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
6 5
8 4
8 6
6 5
9 5
9 8
8 6
10 5
10 9
9 8
8 6
11 6
11 10
10 9
9 8
12 6
12 10
10 9
9 8
13 8
13 12
12 10
10 9
14 8
14 13
13 10
10 9
15 9
15 14
14 13
13 10
16 9
16 12
12 13
12 10
17 10
17 16
16 13
13 12
18 10
10 5
10 8
10 9
19 18
19 17
17 16
16 13
13 12
20 18...

Manager to Checker

OK
good job!

result:

ok OK

Test #74:

score: 100
Accepted
time: 5ms
memory: 3724kb

Interactor to First Run

100
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
2 1
7 6
6 2
2 1
8 4
4 2
2 1
9 8
8 4
4 2
2 1
10 6
6 4
4 2
2 1
11 10
10 4
4 2
2 1
12 8
8 4
4 2
2 1
13 12
12 8
8 2
2 1
14 6
6 4
4 2
2 1
15 14
14 8
8 2
2 1
16 10
10 4
4 2
2 1
17 16
16 10
10 4
4 2
2 1
18 12
12 8
8 4
4 2
2 1
19 18
18 10
10 4
4 2
2 1
20 6
6 8
6 4
4 2...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
0
1
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #75:

score: 100
Accepted
time: 4ms
memory: 3716kb

Interactor to First Run

100
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
2 1
7 6
6 2
2 1
8 4
4 2
2 1
9 8
8 4
4 2
2 1
10 6
6 4
4 2
2 1
11 10
10 4
4 2
2 1
12 8
8 4
4 2
2 1
13 12
12 8
8 2
2 1
14 6
6 4
4 2
2 1
15 14
14 8
8 2
2 1
16 10
10 4
4 2
2 1
17 16
16 10
10 4
4 2
2 1
18 12
12 8
8 4
4 2
2 1
19 18
18 10
10 4
4 2
2 1
20 6
6 8
6 4
4 2...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #76:

score: 100
Accepted
time: 4ms
memory: 3724kb

Interactor to First Run

100
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
2 1
7 6
6 2
2 1
8 4
4 2
2 1
9 8
8 4
4 2
2 1
10 6
6 4
4 2
2 1
11 10
10 4
4 2
2 1
12 8
8 4
4 2
2 1
13 12
12 8
8 2
2 1
14 6
6 4
4 2
2 1
15 14
14 8
8 2
2 1
16 10
10 4
4 2
2 1
17 16
16 10
10 4
4 2
2 1
18 12
12 8
8 4
4 2
2 1
19 18
18 10
10 4
4 2
2 1
20 6
6 8
6 4
4 2...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #77:

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

Interactor to First Run

100
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
2 1
7 6
6 2
2 1
8 4
4 2
2 1
9 8
8 4
4 2
2 1
10 6
6 4
4 2
2 1
11 10
10 4
4 2
2 1
12 8
8 4
4 2
2 1
13 12
12 8
8 2
2 1
14 6
6 4
4 2
2 1
15 14
14 8
8 2
2 1
16 10
10 4
4 2
2 1
17 16
16 10
10 4
4 2
2 1
18 12
12 8
8 4
4 2
2 1
19 18
18 10
10 4
4 2
2 1
20 6
6 8
6 4
4 2...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #78:

score: 100
Accepted
time: 4ms
memory: 3716kb

Interactor to First Run

100
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
2 1
7 6
6 2
2 1
8 4
4 2
2 1
9 8
8 4
4 2
2 1
10 6
6 4
4 2
2 1
11 10
10 4
4 2
2 1
12 8
8 4
4 2
2 1
13 12
12 8
8 2
2 1
14 6
6 4
4 2
2 1
15 14
14 8
8 2
2 1
16 10
10 4
4 2
2 1
17 16
16 10
10 4
4 2
2 1
18 12
12 8
8 4
4 2
2 1
19 18
18 10
10 4
4 2
2 1
20 6
6 8
6 4
4 2...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #79:

score: 100
Accepted
time: 2ms
memory: 3656kb

Interactor to First Run

100
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
2 1
7 6
6 2
2 1
8 4
4 2
2 1
9 8
8 4
4 2
2 1
10 6
6 4
4 2
2 1
11 10
10 4
4 2
2 1
12 8
8 4
4 2
2 1
13 12
12 8
8 2
2 1
14 6
6 4
4 2
2 1
15 14
14 8
8 2
2 1
16 10
10 4
4 2
2 1
17 16
16 10
10 4
4 2
2 1
18 12
12 8
8 4
4 2
2 1
19 18
18 10
10 4
4 2
2 1
20 6
6 8
6 4
4 2...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #80:

score: 100
Accepted
time: 4ms
memory: 3656kb

Interactor to First Run

100
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
4 2
2 1
7 6
6 2
2 1
8 4
4 2
2 1
9 8
8 4
4 2
2 1
10 6
6 4
4 2
2 1
11 10
10 4
4 2
2 1
12 8
8 4
4 2
2 1
13 12
12 8
8 2
2 1
14 6
6 4
4 2
2 1
15 14
14 8
8 2
2 1
16 10
10 4
4 2
2 1
17 16
16 10
10 4
4 2
2 1
18 12
12 8
8 4
4 2
2 1
19 18
18 10
10 4
4 2
2 1
20 6
6 8
6 4
4 2...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-1

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #81:

score: 100
Accepted
time: 2ms
memory: 3656kb

Interactor to First Run

100
0
1
0
0
1
1
0
0
1
0
1
0
0
0
1
0
1
0
0
0
1
1
0
1
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
0
1
0
0
1
0
0
1
0
1
1
0
0
1
0
0
0
0
1
0
0
0
1
0
0
1
0
1
1
0
0
1
0
0
0
0
1
0
0
0
1
0
0
1
0
1
1
0
0
1
0
0
0
0
1
0
0
0
1
0
1
1
0
1
1
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
1
0
1
1
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
1
0
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
6 3
6 4
4 5
7 4
4 2
4 3
8 4
8 5
5 7
9 5
5 3
5 4
10 5
10 8
8 7
7 9
11 7
7 3
7 5
12 7
12 8
8 9
8 11
13 8
8 4
8 7
14 8
14 12
12 11
11 13
15 11
11 4
11 7
11 8
16 11
16 9
9 13
9 15
17 9
9 5
9 8
9 11
18 11
18 16
16 13
13 15
13 17
19 13
13 5
13 9
13 11
20 13
20 12
12 15
12 17
12...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
1
0
0
1
0
1
0
0
0
1
0
0
0
1
1
0
0
1
1
0
1
0
0
0
0
1
0
0
1
0
0
0
0
1
1
0
1
0
1
0
0
1
1
0
0
0
1
1
0
0
0
1
1
1
0
1
0
1
0
0
1
0
0
0
0
1
1
0
0
0
1
1
0
0
1
0
0
0
0
1
1
0
0
1
1
0
0
0
1
1
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
1
1
1
0
1
0
1
1
0
0
1
1
1
0
0
1
0
0
1
0
0
1
1
1
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
6 5
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
9 8
12 6
12 9
12 10
10 11
13 7
13 10
13 12
12 11
14 7
14 11
14 13
13 12
15 8
15 12
12 10
12 11
16 8
16 12
16 13
13 15
17 9
17 13
13 11
13 12
18 9
18 17
18 16
16 15
19 10
19 15
15 13
15 17
20 10
20 17
20 18
1...

Manager to Checker

OK
good job!

result:

ok OK

Test #82:

score: 100
Accepted
time: 3ms
memory: 3648kb

Interactor to First Run

100
1
0
1
1
0
0
1
1
1
0
0
1
1
1
0
0
0
1
1
1
1
0
0
0
1
1
1
1
0
0
0
1
1
1
1
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
1
1
0
...

First Run to Interactor

2 1
3 2
4 2
2 1
5 4
5 3
6 4
4 2
2 1
7 6
7 5
8 6
6 2
2 1
9 8
9 5
9 7
10 8
8 6
6 2
2 1
11 10
11 7
11 9
12 10
10 6
6 2
2 1
13 12
13 7
13 11
14 12
12 10
10 2
2 1
15 14
15 9
15 13
16 14
14 6
6 2
2 1
17 16
17 9
17 13
17 15
18 16
16 14
14 6
6 2
2 1
19 18
19 11
19 15
19 17
20 18
18 10
10 6
6 2
2 1
21 20
21 ...

Interactor to Second Run

100
0
0
0
1
0
0
1
0
0
0
1
0
0
0
0
0
1
0
1
0
0
0
1
0
1
0
0
0
0
1
1
0
0
0
0
0
1
0
1
1
0
0
0
0
1
0
1
1
0
0
0
0
1
0
1
1
0
0
0
0
0
1
0
1
1
1
0
0
0
0
1
0
1
1
0
0
0
0
0
1
1
0
1
1
0
0
0
0
1
0
1
1
1
0
0
0
0
1
0
1
1
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
1
1
0
0
1
0
0
0
0
0
1
0
1
1
1
1
0
0
0
0
0
1
0
1
1
1
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
3 2
7 6
7 5
8 6
6 2
6 3
9 8
9 5
9 7
10 8
8 3
8 6
11 10
11 7
11 9
12 10
10 3
10 8
8 6
13 12
13 7
13 11
14 12
12 6
6 2
6 3
15 14
15 9
15 13
16 14
14 6
14 8
8 12
17 16
17 9
17 13
17 15
18 16
16 8
16 14
14 12
19 18
19 11
19 15
19 17
20 18
18 8
18 16
16 14
14 12
21 20
21 11
21...

Manager to Checker

OK
good job!

result:

ok OK

Test #83:

score: 100
Accepted
time: 3ms
memory: 3644kb

Interactor to First Run

100
0
1
0
0
1
1
0
0
1
0
1
0
0
0
1
0
1
0
0
0
1
1
0
1
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
0
1
0
0
1
0
0
1
0
1
1
0
0
1
0
0
0
0
1
0
0
0
1
0
0
1
0
1
1
0
0
1
0
0
0
0
1
0
0
0
1
0
0
1
0
1
1
0
0
1
0
0
0
0
1
0
0
0
1
0
1
1
0
1
1
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
1
0
1
1
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
1
0
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
6 3
6 4
4 5
7 4
4 2
4 3
8 4
8 5
5 7
9 5
5 3
5 4
10 5
10 8
8 7
7 9
11 7
7 3
7 5
12 7
12 8
8 9
8 11
13 8
8 4
8 7
14 8
14 12
12 11
11 13
15 11
11 4
11 7
11 8
16 11
16 9
9 13
9 15
17 9
9 5
9 8
9 11
18 11
18 16
16 13
13 15
13 17
19 13
13 5
13 9
13 11
20 13
20 12
12 15
12 17
12...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #84:

score: 100
Accepted
time: 2ms
memory: 3736kb

Interactor to First Run

100
1
0
1
1
0
0
1
1
1
0
0
1
1
1
0
0
0
1
1
1
1
0
0
0
1
1
1
1
0
0
0
1
1
1
1
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
1
1
0
...

First Run to Interactor

2 1
3 2
4 2
2 1
5 4
5 3
6 4
4 2
2 1
7 6
7 5
8 6
6 2
2 1
9 8
9 5
9 7
10 8
8 6
6 2
2 1
11 10
11 7
11 9
12 10
10 6
6 2
2 1
13 12
13 7
13 11
14 12
12 10
10 2
2 1
15 14
15 9
15 13
16 14
14 6
6 2
2 1
17 16
17 9
17 13
17 15
18 16
16 14
14 6
6 2
2 1
19 18
19 11
19 15
19 17
20 18
18 10
10 6
6 2
2 1
21 20
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #85:

score: 100
Accepted
time: 2ms
memory: 3720kb

Interactor to First Run

100
0
1
0
0
1
1
0
0
1
0
1
0
0
0
1
0
1
0
0
0
1
1
0
1
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
0
1
0
0
1
0
0
1
0
1
1
0
0
1
0
0
0
0
1
0
0
0
1
0
0
1
0
1
1
0
0
1
0
0
0
0
1
0
0
0
1
0
0
1
0
1
1
0
0
1
0
0
0
0
1
0
0
0
1
0
1
1
0
1
1
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
1
0
1
1
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
1
0
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
6 3
6 4
4 5
7 4
4 2
4 3
8 4
8 5
5 7
9 5
5 3
5 4
10 5
10 8
8 7
7 9
11 7
7 3
7 5
12 7
12 8
8 9
8 11
13 8
8 4
8 7
14 8
14 12
12 11
11 13
15 11
11 4
11 7
11 8
16 11
16 9
9 13
9 15
17 9
9 5
9 8
9 11
18 11
18 16
16 13
13 15
13 17
19 13
13 5
13 9
13 11
20 13
20 12
12 15
12 17
12...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #86:

score: 100
Accepted
time: 4ms
memory: 3648kb

Interactor to First Run

100
1
0
1
1
0
0
1
1
1
0
0
1
1
1
0
0
0
1
1
1
1
0
0
0
1
1
1
1
0
0
0
1
1
1
1
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
1
1
0
...

First Run to Interactor

2 1
3 2
4 2
2 1
5 4
5 3
6 4
4 2
2 1
7 6
7 5
8 6
6 2
2 1
9 8
9 5
9 7
10 8
8 6
6 2
2 1
11 10
11 7
11 9
12 10
10 6
6 2
2 1
13 12
13 7
13 11
14 12
12 10
10 2
2 1
15 14
15 9
15 13
16 14
14 6
6 2
2 1
17 16
17 9
17 13
17 15
18 16
16 14
14 6
6 2
2 1
19 18
19 11
19 15
19 17
20 18
18 10
10 6
6 2
2 1
21 20
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #87:

score: 100
Accepted
time: 2ms
memory: 3672kb

Interactor to First Run

100
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
17 16
20 10
20 15
20 19
20 18
21 11
21 16
21 18
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #88:

score: 100
Accepted
time: 3ms
memory: 3664kb

Interactor to First Run

100
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
1
0
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #89:

score: 100
Accepted
time: 3ms
memory: 3728kb

Interactor to First Run

100
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #90:

score: 100
Accepted
time: 3ms
memory: 3708kb

Interactor to First Run

100
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #91:

score: 100
Accepted
time: 4ms
memory: 3660kb

Interactor to First Run

100
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #92:

score: 100
Accepted
time: 2ms
memory: 3716kb

Interactor to First Run

100
1
1
0
0
1
0
1
0
1
0
0
1
0
0
0
1
0
0
1
0
0
1
0
0
1
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
6 5
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
11 10
13 7
13 10
13 12
12 11
14 7
14 11
14 13
13 12
15 8
15 12
15 14
14 13
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #93:

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

Interactor to First Run

100
1
1
0
0
1
0
1
0
1
0
0
1
0
0
0
1
0
0
1
0
0
1
0
0
1
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
6 5
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
11 10
13 7
13 10
13 12
12 11
14 7
14 11
14 13
13 12
15 8
15 12
15 14
14 13
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
1
0
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
6 5
9 5
9 8
9 7
10 5
10 7
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 8
13 10
13 12
14 8
8 4
8 6
15 14
15 11
15 13
16 14
16 11
16 13
16 15
17 7
17 12
17 15
17 16
18 7
18 13
18 16
18 17
19 9
19 15
19 17
19 18
20 9
20 15
20 18
20 19
21 10
21 16
21 19
21 20
2...

Manager to Checker

OK
good job!

result:

ok OK

Test #94:

score: 100
Accepted
time: 4ms
memory: 3672kb

Interactor to First Run

100
1
1
0
0
1
0
1
0
1
0
0
1
0
0
0
1
0
0
1
0
0
1
0
0
1
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
6 5
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
11 10
13 7
13 10
13 12
12 11
14 7
14 11
14 13
13 12
15 8
15 12
15 14
14 13
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #95:

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

Interactor to First Run

100
1
1
0
0
1
0
1
0
1
0
0
1
0
0
0
1
0
0
1
0
0
1
0
0
1
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
6 5
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
11 10
13 7
13 10
13 12
12 11
14 7
14 11
14 13
13 12
15 8
15 12
15 14
14 13
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #96:

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

Interactor to First Run

100
1
1
0
0
1
0
1
0
1
0
0
1
0
0
0
1
0
0
1
0
0
1
0
0
1
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
6 5
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
11 10
13 7
13 10
13 12
12 11
14 7
14 11
14 13
13 12
15 8
15 12
15 14
14 13
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #97:

score: 100
Accepted
time: 2ms
memory: 3660kb

Interactor to First Run

100
1
0
0
1
0
1
1
1
1
0
1
1
1
0
0
1
0
0
1
1
1
0
0
0
1
0
1
1
1
0
1
0
0
1
1
1
0
1
1
1
1
1
0
1
0
0
0
0
1
0
1
1
1
0
0
1
1
1
1
0
1
0
1
1
1
1
0
1
0
0
0
0
0
1
1
0
1
1
1
1
0
1
0
0
1
1
0
0
0
1
1
1
0
1
0
0
1
0
1
1
0
1
1
1
1
0
1
1
0
0
1
1
1
0
0
0
1
0
1
1
1
0
1
1
1
1
0
0
1
1
1
0
0
0
0
0
0
0
0
0
1
1
0
1
0
0
0
1
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
3 2
2 1
7 6
7 5
5 4
8 6
6 2
6 3
9 8
8 3
8 6
10 8
8 3
3 2
2 1
11 10
11 5
11 7
12 10
12 5
5 4
4 9
13 4
13 12
12 5
14 4
14 13
13 5
5 9
15 5
15 14
14 13
13 9
16 5
5 8
8 10
8 6
17 16
17 12
17 7
17 11
18 16
16 6
16 10
10 8
19 18
18 6
18 16
18 4
20 18
18 6
6 3
3 2
21 20
20 18
20...

Interactor to Second Run

100
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
1
1
0
0
0
0
1
0
0
0
0
0
0
1
1
1
0
1
1
1
0
0
1
0
0
1
1
0
0
1
1
1
0
0
1
0
1
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
1
0
1
0
1
1
0
0
1
0
1
1
0
1
0
1
0
0
1
0
0
0
0
0
1
0
1
0
1
0
1
1
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
1
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
5 3
5 4
10 5
10 7
10 8
11 9
11 8
11 10
12 9
12 8
12 11
11 10
13 6
6 4
4 2
4 3
14 9
14 10
14 12
12 11
15 13
15 11
15 14
16 13
16 11
16 14
14 12
17 7
7 6
7 9
9 13
18 13
13 6
13 7
13 9
19 18
19 12
19 16
16 14
20 18
20 12
20 19
19 16
16 14
21 17
21...

Manager to Checker

OK
good job!

result:

ok OK

Test #98:

score: 100
Accepted
time: 2ms
memory: 3600kb

Interactor to First Run

100
1
1
1
0
0
1
0
1
1
1
0
1
0
1
0
1
1
1
0
1
0
0
1
1
0
1
1
0
0
1
1
1
0
1
0
0
1
0
1
1
1
1
0
0
0
1
0
0
0
1
0
1
1
0
1
1
0
0
1
1
0
0
1
1
1
1
0
1
0
0
1
1
1
0
1
1
0
1
0
0
1
1
1
0
1
1
0
1
1
1
0
1
0
0
0
1
1
1
0
0
0
1
0
0
1
0
1
1
1
1
0
0
1
1
0
1
1
0
0
0
1
0
1
1
0
0
0
0
0
1
1
1
0
1
0
1
1
1
0
0
0
0
0
1
0
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
6 3
3 2
2 1
7 6
7 4
4 5
8 6
6 2
6 3
9 8
8 3
3 2
10 6
6 3
6 8
11 10
10 3
3 2
12 8
8 3
3 2
13 12
13 4
4 9
14 12
12 8
12 6
6 10
15 14
15 13
13 4
13 9
16 14
14 8
8 2
2 1
17 16
17 13
17 5
5 15
18 16
18 5
18 17
17 15
19 11
11 14
14 12
14 16
20 16
16 11
16 12
16 14
21 20
20 6
20...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #99:

score: 100
Accepted
time: 4ms
memory: 3672kb

Interactor to First Run

100
0
0
1
1
0
1
0
1
1
1
1
0
0
0
1
0
0
0
1
1
0
0
1
0
1
1
1
1
0
0
1
1
0
0
1
0
0
0
1
1
1
0
0
1
1
0
0
1
1
1
1
1
1
0
1
0
1
0
1
0
0
1
0
1
1
0
1
1
1
1
0
1
0
0
0
1
0
1
0
0
1
0
1
0
0
1
0
1
1
1
0
0
1
1
0
0
1
1
1
1
1
0
1
1
1
0
1
1
1
0
0
1
1
0
0
0
1
0
1
0
0
0
0
1
0
0
1
0
0
1
0
1
0
0
1
0
1
1
1
1
1
0
0
0
1
1
0
0
...

First Run to Interactor

2 1
3 2
4 2
2 1
5 4
5 3
6 4
6 5
5 3
7 3
3 2
2 1
8 4
8 5
8 6
9 7
9 6
9 8
10 7
7 3
3 2
11 10
11 8
8 6
12 10
10 3
3 2
2 1
13 12
13 8
13 9
9 11
14 12
14 9
14 13
13 11
15 5
15 11
15 14
14 13
16 5
5 10
5 2
5 3
17 16
16 10
16 4
16 12
18 16
16 10
10 3
3 2
2 1
19 18
19 11
11 8
11 9
20 18
20 11
11 8
11 9
21 1...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #100:

score: 100
Accepted
time: 5ms
memory: 3728kb

Interactor to First Run

100
0
0
1
1
1
1
0
1
0
0
1
0
0
1
0
0
1
0
0
1
1
0
1
0
0
0
0
0
1
1
0
1
1
0
0
0
1
0
1
1
0
1
0
0
0
0
1
0
1
0
0
0
0
0
0
1
1
1
0
1
1
1
0
1
0
1
0
1
0
1
1
0
0
0
1
0
0
0
0
1
0
1
1
0
0
1
0
0
1
1
0
0
1
1
0
1
0
0
0
0
1
1
1
0
0
1
0
0
1
1
1
0
0
1
1
1
1
0
1
1
0
1
0
0
1
0
1
0
0
0
0
0
0
0
1
0
0
1
1
0
0
0
1
1
1
1
1
1
...

First Run to Interactor

2 1
3 2
4 2
2 1
5 4
4 2
2 1
6 4
4 2
7 6
7 3
3 5
8 6
8 5
5 3
9 3
9 8
8 5
10 3
10 9
9 8
8 5
11 5
5 4
5 3
12 5
12 9
12 7
13 11
11 6
6 2
6 4
14 5
5 6
5 2
5 4
15 14
14 5
14 11
11 6
16 3
16 9
9 13
9 15
17 9
17 16
17 7
7 10
18 9
9 6
9 14
9 11
19 18
19 7
19 17
19 12
20 18
18 6
6 4
6 5
21 20
20 18
18 4
18 6
...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
0
0
1
0
0
1
0
0
0
0
0
1
1
0
1
0
1
0
1
1
0
0
0
0
0
0
0
1
0
0
1
1
0
0
0
0
0
0
0
1
1
1
0
1
1
0
0
1
0
0
0
1
1
0
0
0
1
0
0
1
0
1
1
0
0
0
0
1
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
1
1
0
0
1
0
1
0
0
0
1
1
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
1
0
1
0
0
0
0
1
1
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
7 6
10 5
10 9
10 8
11 6
11 8
11 10
12 6
12 8
12 11
13 7
13 10
13 12
12 11
14 7
14 11
11 8
11 10
15 9
15 14
14 10
10 8
16 9
16 11
16 12
16 13
17 8
17 15
17 13
13 12
18 8
18 12
12 11
11 14
11 10
19 10
19 18
19 17
19 16
20 10
20 18
18 12
12 14...

Manager to Checker

OK
good job!

result:

ok OK

Test #101:

score: 100
Accepted
time: 3ms
memory: 3656kb

Interactor to First Run

100
1
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
1
0
1
0
0
1
0
0
0
1
1
1
0
0
0
0
1
0
0
1
1
0
1
0
1
0
1
0
1
0
0
1
1
0
0
0
0
1
1
0
0
0
1
0
1
1
0
0
1
0
0
1
1
0
0
1
0
1
1
1
1
1
0
1
0
1
0
1
0
1
1
0
0
1
0
0
1
1
1
1
0
1
0
0
1
0
1
1
0
1
0
0
1
0
1
1
0
1
1
1
0
1
1
1
1
0
1
0
1
0
0
0
1
1
1
1
1
1
0
0
1
0
1
0
0
1
0
...

First Run to Interactor

2 1
3 2
4 2
2 1
5 4
5 3
6 4
6 5
7 3
7 6
8 3
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
6 4
4 2
2 1
12 5
5 4
5 3
13 12
12 6
12 5
14 12
14 8
8 11
11 7
15 13
15 14
15 10
16 13
16 14
14 7
14 11
17 8
8 3
3 4
3 2
2 1
18 13
13 6
13 5
5 8
19 18
18 6
18 13
18 12
20 18
18 6
18 13
18 12
21 20
21 14
14 7
7 17
7 19...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #102:

score: 100
Accepted
time: 2ms
memory: 3724kb

Interactor to First Run

100
1
1
0
0
1
0
1
1
0
1
0
1
0
0
0
0
0
1
0
1
0
0
0
0
1
0
0
1
0
1
1
1
0
1
1
0
1
0
0
0
1
1
0
0
1
1
1
0
1
1
1
1
1
1
0
0
1
0
1
0
1
0
0
1
0
1
0
0
0
0
0
1
0
1
0
1
0
0
1
0
0
0
0
0
1
0
0
1
1
1
0
0
1
0
0
1
1
0
1
1
0
1
0
0
1
1
1
0
0
0
1
1
1
1
0
1
1
1
1
0
1
1
1
1
1
1
0
1
1
0
1
1
1
1
0
0
0
1
0
1
1
0
0
1
0
1
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
3 2
7 6
6 2
6 3
8 6
8 4
8 5
9 7
9 5
9 8
10 7
10 8
8 5
11 4
11 10
11 9
12 4
4 3
4 7
4 6
13 12
13 10
10 8
8 5
14 12
14 13
13 8
8 5
15 5
5 4
5 7
5 6
16 12
12 4
4 2
4 3
17 16
16 12
12 3
3 2
18 7
7 4
4 3
3 2
2 1
19 18
18 12
18 5
18 6
20 18
20 13
13 15
13 17
21 19
21 20
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #103:

score: 100
Accepted
time: 4ms
memory: 3656kb

Interactor to First Run

100
1
1
0
1
0
1
1
1
0
0
1
0
0
1
0
1
0
1
1
1
0
0
0
0
0
0
1
0
1
1
1
1
0
0
0
1
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
1
1
0
1
1
0
0
1
1
0
0
1
1
1
1
1
1
0
0
0
1
0
0
1
1
0
0
1
1
1
0
1
0
0
0
1
1
0
1
1
0
0
1
0
1
0
1
1
0
1
0
0
1
0
0
1
1
0
1
1
1
0
0
1
1
1
1
1
1
0
0
0
1
1
1
0
1
1
0
0
1
1
0
1
0
0
1
0
0
0
1
0
0
0
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
6 3
7 5
5 2
5 4
8 5
5 2
5 4
9 8
9 3
3 7
10 8
8 4
8 5
11 10
11 9
11 6
12 10
12 9
9 7
13 3
3 5
5 10
14 10
10 3
10 5
15 14
15 12
12 7
12 9
16 14
16 12
16 6
6 15
17 13
13 8
13 10
10 5
18 14
18 6
18 16
18 11
19 17
19 15
15 12
12 9
20 17
17 8
8 4
8 3
21 20
20 17
17 4
17...

Interactor to Second Run

100
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
1
1
0
0
0
0
0
1
1
0
0
1
0
1
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
0
0
1
0
1
1
0
0
0
1
1
1
0
0
1
0
1
0
1
0
0
1
0
0
1
0
1
0
0
0
0
1
0
0
1
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
0
1
0
1
0
0
0
1
0
1
1
0
1
0
0
0
0
1
1
0
0
1
1
0
0
1
1
1
0
0
0
0
1
0
1
0
0
1
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
4 2
4 3
9 8
9 6
9 7
10 8
10 7
10 9
11 5
11 9
9 7
7 6
12 5
12 9
12 10
13 6
13 11
11 9
9 7
14 6
14 13
13 9
13 11
15 7
15 14
15 12
16 7
16 14
16 12
12 10
17 9
17 10
17 16
16 12
18 9
18 12
18 17
18 15
19 11
19 16
19 15
19 18
20 11
20 16
16 10
10 14
10 13
21 10...

Manager to Checker

OK
good job!

result:

ok OK

Test #104:

score: 100
Accepted
time: 4ms
memory: 3724kb

Interactor to First Run

100
0
0
0
0
0
0
1
0
1
0
1
1
1
1
0
1
1
1
0
1
1
0
1
0
0
1
1
1
1
1
0
1
0
0
1
1
0
0
0
1
0
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
0
1
1
1
1
1
0
0
1
1
1
1
1
0
1
0
0
0
0
1
0
1
1
1
0
1
1
0
0
0
1
0
1
0
0
1
0
1
0
0
0
1
1
1
0
0
0
0
1
0
1
0
1
1
0
0
1
0
0
0
1
0
1
0
0
0
1
1
0
0
0
1
0
1
0
1
0
1
1
0
1
1
0
0
0
0
0
1
1
0
0
1
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
3 2
7 6
6 2
6 3
8 6
6 2
2 1
9 8
9 4
4 7
10 8
8 6
8 3
11 10
10 6
10 8
8 3
12 10
12 7
7 4
4 11
13 4
4 3
3 2
3 6
14 10
14 12
14 5
5 9
15 13
15 5
15 14
16 13
13 6
13 8
8 4
17 16
17 5
17 14
17 15
18 16
16 4
4 3
3 2
2 1
19 18
19 9
19 15
19 17
20 18
20 9
9 12
12 5
21 11
11 16
16...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #105:

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

Interactor to First Run

100
1
1
1
0
0
0
0
1
1
1
1
1
1
1
0
0
1
1
1
0
0
0
1
0
0
1
0
1
1
1
1
0
1
0
0
0
1
1
1
1
1
0
1
1
0
0
0
1
0
0
0
0
0
0
1
1
0
1
0
0
1
1
1
0
0
1
1
0
1
1
1
1
0
1
0
0
0
1
0
1
1
0
0
1
1
0
1
1
0
1
1
0
1
1
1
1
1
1
1
1
1
0
1
0
0
1
0
0
1
0
1
0
1
0
0
1
1
0
0
0
0
0
0
1
0
1
0
1
1
1
1
1
1
1
1
0
0
1
0
0
1
1
0
1
0
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
3 2
2 1
7 6
6 2
2 1
8 3
3 2
3 6
9 8
8 3
3 2
2 1
10 6
10 4
10 5
11 9
11 5
11 10
12 9
12 5
5 4
4 7
13 4
4 8
4 2
2 1
14 9
14 12
14 11
11 10
15 13
13 3
3 2
2 1
16 9
9 4
4 2
4 3
17 16
17 12
12 7
12 5
18 16
18 17
18 11
18 14
19 15
15 9
9 3
9 4
20 16
20 17
20 14
14 11
11 10
...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #106:

score: 100
Accepted
time: 2ms
memory: 3724kb

Interactor to First Run

100
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
4 2
4 3
8 4
8 5
8 6
9 7
9 6
6 5
10 7
10 9
10 8
11 5
11 8
11 10
12 5
12 8
8 9
8 6
13 6
13 12
13 11
14 6
14 10
14 13
15 8
15 11
15 14
16 8
16 11
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 12
19 15
19 17
19 18
20 12
20 15
20 18
20 19
21 10
21 16
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
6 5
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
11 10
13 7
13 10
13 12
14 7
14 11
14 13
13 12
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11...

Manager to Checker

OK
good job!

result:

ok OK

Test #107:

score: 100
Accepted
time: 3ms
memory: 3736kb

Interactor to First Run

100
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
4 2
4 3
8 4
8 5
8 6
9 7
9 6
6 5
10 7
10 9
10 8
11 5
11 8
11 10
12 5
12 8
8 9
8 6
13 6
13 12
13 11
14 6
14 10
14 13
15 8
15 11
15 14
16 8
16 11
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 12
19 15
19 17
19 18
20 12
20 15
20 18
20 19
21 10
21 16
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #108:

score: 100
Accepted
time: 4ms
memory: 3732kb

Interactor to First Run

100
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
4 2
4 3
8 4
8 5
8 6
9 7
9 6
6 5
10 7
10 9
10 8
11 5
11 8
11 10
12 5
12 8
8 9
8 6
13 6
13 12
13 11
14 6
14 10
14 13
15 8
15 11
15 14
16 8
16 11
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 12
19 15
19 17
19 18
20 12
20 15
20 18
20 19
21 10
21 16
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #109:

score: 100
Accepted
time: 4ms
memory: 3736kb

Interactor to First Run

100
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
4 2
4 3
8 4
8 5
8 6
9 7
9 6
6 5
10 7
10 9
10 8
11 5
11 8
11 10
12 5
12 8
8 9
8 6
13 6
13 12
13 11
14 6
14 10
14 13
15 8
15 11
15 14
16 8
16 11
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 12
19 15
19 17
19 18
20 12
20 15
20 18
20 19
21 10
21 16
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #110:

score: 100
Accepted
time: 4ms
memory: 3660kb

Interactor to First Run

100
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
4 2
4 3
8 4
8 5
8 6
9 7
9 6
6 5
10 7
10 9
10 8
11 5
11 8
11 10
12 5
12 8
8 9
8 6
13 6
13 12
13 11
14 6
14 10
14 13
15 8
15 11
15 14
16 8
16 11
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 12
19 15
19 17
19 18
20 12
20 15
20 18
20 19
21 10
21 16
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #111:

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

Interactor to First Run

100
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
6 5
9 5
9 8
9 7
10 5
10 7
7 8
7 6
11 6
11 10
11 9
12 6
12 10
12 11
13 7
13 9
9 10
9 8
14 7
14 13
14 12
15 8
15 11
15 14
16 8
16 11
16 14
16 15
17 9
17 12
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 13
21 16...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
12 11
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
16 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #112:

score: 100
Accepted
time: 3ms
memory: 3648kb

Interactor to First Run

100
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
6 5
9 5
9 8
9 7
10 5
10 7
7 8
7 6
11 6
11 10
11 9
12 6
12 10
12 11
13 7
13 9
9 10
9 8
14 7
14 13
14 12
15 8
15 11
15 14
16 8
16 11
16 14
16 15
17 9
17 12
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 13
21 16...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #113:

score: 100
Accepted
time: 3ms
memory: 3720kb

Interactor to First Run

100
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
6 5
9 5
9 8
9 7
10 5
10 7
7 8
7 6
11 6
11 10
11 9
12 6
12 10
12 11
13 7
13 9
9 10
9 8
14 7
14 13
14 12
15 8
15 11
15 14
16 8
16 11
16 14
16 15
17 9
17 12
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 13
21 16...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #114:

score: 100
Accepted
time: 3ms
memory: 3728kb

Interactor to First Run

100
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
6 5
9 5
9 8
9 7
10 5
10 7
7 8
7 6
11 6
11 10
11 9
12 6
12 10
12 11
13 7
13 9
9 10
9 8
14 7
14 13
14 12
15 8
15 11
15 14
16 8
16 11
16 14
16 15
17 9
17 12
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 13
21 16...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #115:

score: 100
Accepted
time: 2ms
memory: 3724kb

Interactor to First Run

100
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
6 5
9 5
9 8
9 7
10 5
10 7
7 8
7 6
11 6
11 10
11 9
12 6
12 10
12 11
13 7
13 9
9 10
9 8
14 7
14 13
14 12
15 8
15 11
15 14
16 8
16 11
16 14
16 15
17 9
17 12
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 13
21 16...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #116:

score: 100
Accepted
time: 3ms
memory: 3644kb

Interactor to First Run

100
1
1
0
1
0
0
1
0
1
1
0
1
1
0
0
0
1
0
1
0
0
1
1
0
1
1
1
0
1
0
0
0
1
0
1
0
1
0
0
1
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
1
1
1
0
0
0
1
1
1
1
0
1
0
1
0
1
0
1
0
1
1
0
0
1
0
0
0
1
1
1
1
0
1
0
1
1
1
1
1
0
0
1
1
1
1
0
1
1
0
0
1
0
0
0
0
0
1
1
0
1
1
0
0
1
0
1
0
1
0
0
0
1
1
1
0
0
0
0
0
1
0
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
5 3
6 4
6 5
5 3
7 3
7 6
6 5
8 3
8 6
8 7
9 5
5 4
5 3
10 5
10 7
10 8
11 9
9 4
9 5
5 3
12 9
9 4
9 5
5 3
13 12
13 7
13 10
10 8
14 12
12 3
12 9
9 5
15 14
15 8
8 6
8 7
16 14
14 3
14 9
9 5
17 16
17 8
17 10
10 15
18 16
18 10
18 17
18 13
19 11
19 15
19 13
19 18
20 11
11 5
11 12
12 16
...

Interactor to Second Run

100
0
0
0
0
0
0
0
1
0
0
1
1
0
0
1
0
0
0
0
1
1
1
0
1
1
0
0
0
0
1
1
0
0
0
0
1
1
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
1
0
1
1
0
0
0
0
0
1
1
0
0
0
0
1
0
0
1
1
1
1
0
1
0
0
0
1
0
0
0
0
0
1
0
1
1
1
0
1
1
0
1
1
0
1
1
0
0
1
0
0
1
0
0
0
0
0
1
1
1
0
0
0
0
1
1
0
1
1
0
1
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
6 5
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
8 7
7 6
11 6
11 10
10 8
8 7
12 6
12 10
12 9
13 7
7 4
4 2
4 3
14 6
14 11
14 12
12 9
15 13
15 9
15 14
16 13
16 9
16 14
16 15
17 8
17 12
17 15
17 16
18 8
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
18 17
1...

Manager to Checker

OK
good job!

result:

ok OK

Test #117:

score: 100
Accepted
time: 3ms
memory: 3660kb

Interactor to First Run

100
0
1
1
0
0
1
1
1
1
1
0
0
1
1
0
0
0
1
0
0
1
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
1
0
1
1
1
0
0
0
0
1
1
0
1
0
1
1
0
1
1
0
0
1
1
0
1
1
1
1
1
0
0
1
1
1
1
0
1
1
0
1
1
1
1
0
0
1
1
0
0
0
1
1
1
0
1
1
0
1
0
1
1
0
0
0
0
1
1
0
1
0
1
0
1
1
0
1
1
1
1
0
0
1
0
0
1
0
0
0
0
0
0
1
0
0
0
1
1
1
1
1
1
1
0
0
0
1
1
0
1
0
1
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
2 1
6 3
3 2
2 1
7 6
7 4
4 5
8 6
8 5
8 7
9 4
4 3
4 6
10 6
6 3
6 4
11 10
11 7
11 8
12 10
12 7
12 11
11 8
13 9
9 4
4 2
4 3
14 10
14 8
14 12
12 11
15 13
13 4
4 2
2 1
16 10
16 8
16 12
16 14
17 15
15 13
15 6
6 9
18 10
10 13
13 9
13 15
19 18
18 10
18 13
18 15
20 18
18 10
18 13
1...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
1
1
0
0
0
0
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
0
1
0
1
1
1
0
1
0
1
1
0
1
0
0
0
1
1
0
1
0
0
0
0
1
1
1
1
1
0
1
0
0
1
0
1
1
0
1
0
0
0
1
0
1
1
0
0
1
0
0
0
0
1
1
1
0
0
0
0
0
0
1
1
1
0
0
1
0
0
1
0
1
1
0
1
1
0
1
1
1
0
1
0
0
0
0
0
1
1
0
1
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
7 6
10 5
10 9
9 7
11 6
11 10
11 8
12 6
12 10
12 11
13 7
13 8
8 10
8 9
14 7
14 13
14 12
15 8
15 11
11 10
10 9
16 8
16 13
16 12
16 14
17 9
17 15
15 11
11 10
18 9
18 17
17 15
15 11
19 10
19 18
18 17
17 15
20 10
10 5
10 8
10 9
21 20
21 13
13 17...

Manager to Checker

OK
good job!

result:

ok OK

Test #118:

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

Interactor to First Run

100
1
1
1
1
0
1
1
0
0
1
1
1
1
0
0
1
1
0
0
0
1
0
1
0
1
1
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
0
0
1
0
1
1
1
1
1
0
1
1
1
1
1
1
1
0
0
1
0
0
0
1
0
1
1
1
0
0
1
1
1
0
1
0
1
0
1
0
0
1
0
1
1
1
1
0
0
1
0
1
1
1
0
1
0
1
1
1
1
1
0
0
0
0
1
1
0
1
1
0
1
0
0
1
0
1
1
1
1
1
1
0
1
1
1
1
0
1
0
1
1
0
1
1
1
0
1
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
2 1
6 4
6 3
3 5
7 3
3 2
2 1
8 4
8 5
5 7
9 5
9 8
9 6
10 5
5 3
5 4
11 10
11 6
6 8
12 10
12 8
12 9
13 7
13 11
13 12
14 7
14 9
14 13
13 12
15 6
15 12
15 14
14 13
16 6
16 12
12 11
12 9
17 8
17 16
16 9
16 12
18 8
18 17
17 12
17 16
19 11
11 5
5 3
3 2
2 1
20 8
8 4
4 3
3 2
2 1
21 ...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #119:

score: 100
Accepted
time: 3ms
memory: 3696kb

Interactor to First Run

100
1
1
0
1
0
1
0
0
1
0
1
0
1
1
0
1
0
1
1
1
1
1
0
1
0
1
0
0
1
1
0
0
0
1
1
0
0
1
0
0
0
1
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
1
1
0
0
1
0
0
1
0
1
0
1
0
0
0
1
0
1
0
1
0
1
0
1
0
0
1
0
1
1
0
0
1
1
0
0
0
1
1
0
0
0
1
0
1
1
0
1
0
0
1
0
1
0
0
0
0
0
1
0
0
1
0
1
1
1
0
0
1
0
0
0
1
1
0
0
0
1
0
0
1
1
0
1
0
0
0
1
1
0
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
2 1
5 4
4 2
6 4
6 3
3 5
7 3
3 2
3 4
8 4
4 2
4 3
9 8
9 5
5 7
10 8
8 3
3 2
2 1
11 10
10 3
10 4
4 8
12 10
12 7
7 5
5 11
13 5
13 12
13 6
6 9
14 5
14 6
14 13
13 9
15 11
15 9
15 14
14 13
16 11
16 9
16 14
16 15
17 7
7 8
8 5
5 10
18 11
18 13
18 15
18 16
19 17
19 14
19 16
16 15
20 17
20 14
20...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #120:

score: 100
Accepted
time: 2ms
memory: 3736kb

Interactor to First Run

100
1
1
1
0
0
0
1
0
0
0
1
1
1
1
0
1
1
1
0
0
0
0
1
0
1
0
0
1
1
0
1
0
0
1
1
1
1
0
0
1
1
0
0
1
0
1
0
1
0
0
1
0
1
1
0
1
1
0
1
1
0
1
0
1
0
1
1
0
1
1
0
1
0
1
1
1
1
0
0
1
1
1
1
1
1
1
1
0
0
1
1
1
0
0
1
0
1
0
1
1
1
1
0
1
1
1
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
1
0
1
1
0
0
1
1
0
1
0
0
0
0
1
0
0
0
0
1
0
1
1
1
1
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
6 5
8 4
4 2
2 1
9 8
8 4
4 2
2 1
10 3
10 6
10 7
11 9
9 4
9 3
3 8
12 9
12 6
6 5
5 11
13 5
5 3
5 9
5 8
14 9
9 3
3 2
2 1
15 14
15 12
12 11
11 13
16 14
16 6
6 13
6 11
17 6
17 16
16 13
16 12
18 6
6 9
6 3
3 2
2 1
19 18
18 4
4 3
4 6
20 14
14 6
14 5
5 9
5 18
21 20
...

Interactor to Second Run

100
0
0
0
1
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
1
0
0
0
1
0
0
1
0
0
1
0
1
0
0
1
1
0
0
1
0
0
0
1
0
0
1
0
0
0
0
1
0
0
0
1
1
1
0
0
1
0
1
1
0
1
0
0
0
1
0
0
0
0
1
1
0
1
0
1
0
1
1
1
1
0
1
0
1
1
1
0
1
0
1
0
0
1
0
0
1
1
0
0
0
1
0
0
0
1
0
0
0
0
0
0
1
0
1
0
1
0
0
0
1
0
0
1
0
1
0
1
1
1
0
0
0
1
1
0
1
0
1
1
1
1
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
4 2
4 3
9 8
8 3
8 4
10 8
10 6
10 7
11 9
11 7
7 6
12 9
12 7
12 10
10 11
13 5
13 10
10 7
14 5
14 13
13 7
13 10
15 6
15 14
15 12
12 11
16 6
16 14
16 12
12 11
17 7
17 11
17 16
16 12
18 7
18 12
12 14
12 13
12 10
19 10
19 18
18 14
18 11
20 10
20 18
18 14
14 13
1...

Manager to Checker

OK
good job!

result:

ok OK

Test #121:

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

Interactor to First Run

100
1
1
0
0
0
1
1
1
1
1
0
1
0
1
1
1
1
1
1
1
0
1
1
1
1
1
0
1
1
1
0
1
1
1
0
1
1
1
0
1
1
0
0
1
1
0
1
0
1
1
0
1
0
1
0
1
0
0
1
0
1
1
1
0
1
0
0
0
1
0
1
1
0
1
0
1
0
0
0
1
0
1
1
1
0
1
1
0
1
0
1
1
1
1
0
0
1
0
1
0
1
1
1
1
1
1
1
0
0
1
0
1
1
1
0
1
1
0
1
0
1
1
0
0
1
0
1
1
0
0
0
1
0
0
1
0
0
1
0
0
0
0
1
0
0
1
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
2 1
6 3
3 2
2 1
7 6
6 2
6 3
8 6
6 2
2 1
9 8
8 6
6 2
2 1
10 3
3 6
6 8
11 10
10 3
3 2
12 8
8 3
3 2
2 1
13 12
12 8
8 2
2 1
14 6
6 3
3 2
2 1
15 14
14 8
8 2
8 3
16 10
10 8
8 2
8 3
17 16
17 9
9 13
13 11
18 16
16 10
16 6
6 14
19 18
18 10
18 16
18 12
20 18
20 13
13 9
9 15
21 19
2...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #122:

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

Interactor to First Run

100
0
1
0
0
1
1
1
0
0
1
1
0
0
1
0
0
0
1
1
0
1
0
0
1
1
0
1
1
1
1
0
0
1
0
1
0
0
1
0
0
1
0
0
1
1
0
1
1
1
1
0
0
1
0
0
0
0
1
0
1
1
0
0
1
1
1
1
1
0
1
1
1
0
1
0
1
0
1
0
1
1
1
0
0
0
0
0
1
1
1
1
0
1
0
0
0
0
0
1
1
1
1
1
1
1
0
0
1
1
0
1
0
1
0
1
1
1
0
0
0
1
0
0
0
1
0
1
1
1
0
0
0
0
1
0
0
0
0
1
0
1
1
1
1
1
1
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
2 1
6 3
6 4
4 5
7 4
7 6
8 4
4 2
4 3
9 8
9 6
6 5
10 8
10 9
9 6
11 5
11 10
10 9
9 6
12 5
5 3
3 2
2 1
13 12
13 10
13 7
7 11
14 12
12 5
12 8
15 14
14 5
14 8
14 12
16 14
16 10
16 11
11 7
17 15
17 7
7 9
9 10
18 15
15 4
15 12
15 14
19 18
19 17
19 16
19 13
20 18
18 4
18 14
14 12
...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #123:

score: 100
Accepted
time: 3ms
memory: 3600kb

Interactor to First Run

100
0
0
0
0
0
1
1
1
1
0
0
1
1
0
1
0
1
0
1
0
0
1
0
1
0
1
1
0
1
0
1
1
0
0
0
1
0
0
1
0
0
1
0
0
0
0
1
0
0
0
0
0
0
1
0
1
1
0
0
1
1
1
1
1
1
1
0
0
1
0
0
0
1
0
1
0
1
1
0
0
1
1
1
1
1
0
1
1
1
1
1
0
1
0
0
0
1
1
1
0
1
1
0
1
0
1
1
0
0
0
1
1
1
1
0
1
0
0
0
1
0
1
1
1
0
1
1
1
1
0
1
0
1
1
0
0
0
0
1
1
1
1
1
0
0
1
1
1
...

First Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
3 2
2 1
7 6
7 5
8 6
6 2
2 1
9 8
8 6
8 3
10 8
10 5
5 4
11 9
11 10
10 5
12 9
9 6
9 8
8 3
13 12
13 10
10 5
14 12
12 3
3 2
3 6
15 14
15 13
13 5
13 10
16 14
14 6
14 8
14 9
17 16
17 13
17 11
17 7
18 16
16 12
16 9
16 14
19 18
19 15
19 7
19 17
20 18
20 15
15 10
10 5
21 4
21 20
20...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #124:

score: 100
Accepted
time: 3ms
memory: 3656kb

Interactor to First Run

100
0
1
0
0
1
1
0
0
0
0
1
0
0
1
1
1
0
1
1
0
0
1
0
1
0
1
1
1
0
1
1
1
0
0
0
1
0
0
1
1
0
0
1
1
0
1
1
0
1
0
0
1
1
0
0
1
1
0
0
1
0
0
0
1
1
0
1
0
0
0
1
1
0
1
1
0
1
0
1
1
0
1
0
1
1
1
1
0
1
1
1
0
0
1
0
1
1
0
1
0
0
1
1
0
1
0
1
0
0
1
0
1
0
1
0
0
0
1
0
0
0
0
1
0
1
1
0
0
0
1
1
0
1
1
0
1
1
0
1
0
1
1
0
1
1
1
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
6 3
6 4
7 5
7 6
6 4
8 5
8 6
6 4
9 4
4 3
4 5
10 5
5 3
5 4
11 10
10 3
10 5
5 4
12 10
10 3
3 2
2 1
13 12
12 10
10 2
2 1
14 5
14 6
14 7
7 8
15 13
15 7
7 9
9 6
16 13
16 9
9 7
7 11
17 7
7 12
12 5
12 13
18 13
18 16
18 8
8 15
19 17
19 8
19 18
18 15
20 17
20 8
20 19
19 18
21 11
21...

Interactor to Second Run

100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
7 4
7 6
8 4
8 6
8 7
9 5
9 7
9 8
10 5
10 8
10 9
11 6
11 9
11 10
12 6
12 9
12 11
13 7
13 10
13 12
14 7
14 11
14 13
15 8
15 12
15 14
16 8
16 12
16 14
16 15
17 9
17 13
17 15
17 16
18 9
18 14
18 16
18 17
19 10
19 15
19 17
19 18
20 10
20 15
20 18
20 19
21 11
21 16
21 19
21 ...

Manager to Checker

OK
good job!

result:

ok OK

Test #125:

score: 100
Accepted
time: 3ms
memory: 3708kb

Interactor to First Run

100
1
1
1
0
1
1
1
0
1
0
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
0
1
1
0
1
1
0
1
1
0
0
1
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
1
1
1
0
1
0
0
0
0
1
1
1
0
1
0
0
0
1
0
0
0
0
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
1
0
0
1
1
0
1
0
1
0
1
0
1
1
0
1
0
1
1
1
0
0
1
1
1
1
1
0
1
1
1
0
0
...

First Run to Interactor

2 1
3 2
2 1
4 2
4 3
5 3
3 2
2 1
6 3
3 2
7 6
6 2
2 1
8 3
3 2
2 1
9 8
8 3
3 2
2 1
10 6
6 3
3 2
2 1
11 10
10 3
3 2
12 8
8 3
3 2
13 12
12 8
8 2
8 3
14 6
6 8
6 2
6 3
15 14
15 7
15 4
4 5
16 14
16 7
16 5
5 4
17 13
17 4
17 16
17 15
18 13
18 5
18 15
18 17
19 11
19 16
19 17
17 15
20 11
20 16
20 19
19 17
21 9
...

Interactor to Second Run

100
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
1
0
1
1
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
1
1
1
0
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
1
1
0
1
0
0
0
1
1
1
1
...

Second Run to Interactor

2 1
3 2
4 2
4 3
5 3
5 4
6 3
6 5
5 4
7 4
7 6
8 4
8 6
8 7
9 5
5 3
5 4
10 5
10 7
10 8
11 9
11 8
8 7
7 6
12 9
12 8
8 7
13 6
13 12
13 10
10 11
14 6
14 10
14 13
15 7
15 11
15 14
16 7
16 11
16 14
14 13
17 8
17 13
17 16
16 14
18 8
18 14
18 17
18 15
19 12
19 16
19 15
19 18
20 12
20 16
20 18
20 19
21 10
21 17...

Manager to Checker

OK
good job!

result:

ok OK