1 25 500
3 7 1 0
17 21 1 0
2 25 2 0
20 19 1 0
23 17 2 1
19 22 1 0
17 19 1 0
7 20 1 0
2 16 1 0
4 12 2 1
10 19 2 1
21 19 2 0
13 22 1 0
2 3 1 0
4 22 1 0
24 24 1 0
3 20 1 0
12 15 1 0
1 24 2 0
1 5 1 0
6 17 2 0
4 6 2 1
22 19 1 0
17 21 1 0
10 23 1 0
5 2 2 1
2 18 2 1
3 15 1 0
2 20 1 0
4 17 2 1
2 4 1 0
3 25 1 0
2 12 1 0
3 17 2 0
7 25 2 0
3 25 1 0
2 17 1 0
10 23 1 0
4 12 1 0
13 24 1 0
10 20 2 0
14 22 1 0
1 8 1 0
3 6 1 0
14 24 2 1
2 24 1 0
2 17 2 0
7 25 1 0
24 14 2 1
10 20 2 0
21 23 1 0
10 21 1 0
14 22 1 0
24 24 1 0
9 19 2 1
4 4 2 1
10 22 2 0
4 13 1 0
1 7 1 0
2 4 2 1
2 23 1 0
10 19 1 0
10 23 1 0
8 19 2 1
2 9 2 1
10 18 1 0
5 13 2 1
3 15 1 0
4 6 2 1
7 24 1 0
24 15 2 0
1 13 1 0
3 14 1 0
16 15 2 1
3 7 1 0
19 19 1 0
1 20 1 0
1 2 1 0
5 12 2 0
1 20 1 0
8 20 1 0
25 15 1 0
14 23 1 0
10 19 1 0
4 10 1 0
2 16 1 0
4 2 1 0
4 7 2 1
23 16 1 0
8 25 1 0
14 20 2 1
24 24 1 0
1 8 1 0
10 22 1 0
4 11 2 0
19 25 1 0
13 13 2 1
5 13 2 0
22 18 1 0
11 24 1 0
14 24 2 1
1 23 1 0
12 15 1 0
23 15 2 1
16 17 1 0
4 1 2 1
1 13 1 0
16 15 2 1
1 23 1 0
23 16 2 0
5 3 2 0
17 23 1 0
24 19 1 0
1 7 1 0
13 20 1 0
4 12 1 0
23 15 2 1
22 24 1 0
10 17 2 1
11 15 2 1
2 16 1 0
7 25 2 0
4 10 1 0
9 25 1 0
21 19 2 0
11 15 2 1
3 18 1 0
12 15 1 0
14 24 2 1
2 23 1 0
4 13 1 0
25 15 1 0
1 3 2 0
17 22 1 0
17 18 1 0
6 21 1 0
7 20 1 0
13 17 1 0
1 3 2 1
15 14 2 0
15 15 1 0
17 22 2 1
9 20 1 0
2 4 1 0
3 15 1 0
6 21 1 0
21 24 1 0
2 24 1 0
1 6 1 0
16 15 2 0
15 22 1 0
22 18 1 0
1 3 2 0
10 22 1 0
16 24 1 0
1 8 1 0
2 9 1 0
8 20 1 0
1 14 1 0
10 21 1 0
21 24 1 0
4 11 1 0
23 15 2 1
1 8 1 0
4 18 2 0
4 12 1 0
13 23 2 0
15 14 2 0
24 14 2 1
3 25 2 1
12 14 2 1
21 18 2 0
13 23 2 0
4 17 2 1
4 13 1 0
4 11 2 0
21 20 1 0
3 1 1 0
9 19 2 0
10 22 1 0
4 3 1 0
17 19 1 0
7 25 1 0
10 21 1 0
24 25 1 0
5 3 2 0
2 24 1 0
1 8 2 1
9 18 2 1
25 15 1 0
13 23 1 0
10 22 1 0
14 22 1 0
2 18 1 0
18 19 1 0
10 23 1 0
16 17 1 0
11 20 1 0
4 7 2 1
12 22 1 0
25 21 1 0
9 19 2 1
13 14 1 0
16 17 2 1
4 3 1 0
10 21 1 0
8 19 2 0
2 18 1 0
21 24 1 0
5 21 1 0
4 22 1 0
1 13 2 0
4 7 2 1
2 17 2 0
12 15 2 0
19 21 1 0
5 4 2 0
2 18 2 1
23 16 1 0
18 19 1 0
8 25 1 0
19 22 1 0
14 22 2 1
4 13 1 0
10 17 2 1
1 23 1 0
2 3 1 0
10 22 1 0
2 16 1 0
15 22 1 0
1 23 1 0
21 19 2 0
22 19 1 0
21 20 1 0
7 19 1 0
16 17 1 0
10 23 1 0
5 18 2 1
4 18 1 0
14 25 1 0
12 20 1 0
14 25 1 0
18 18 2 0
3 6 1 0
14 24 1 0
2 17 2 0
14 23 1 0
23 22 1 0
22 19 1 0
15 22 1 0
3 7 2 0
1 12 1 0
23 21 1 0
3 18 1 0
1 7 1 0
2 25 2 0
16 15 2 0
4 9 1 0
17 21 1 0
8 19 2 1
21 24 1 0
13 20 1 0
21 23 1 0
10 16 2 1
21 24 1 0
15 16 2 1
14 18 1 0
9 20 1 0
24 24 1 0
5 3 2 0
15 15 1 0
10 22 1 0
4 3 1 0
5 18 1 0
15 16 1 0
7 20 1 0
15 14 2 1
14 23 1 0
14 18 1 0
24 25 1 0
14 20 1 0
20 19 1 0
12 22 1 0
8 20 1 0
7 20 1 0
24 14 2 1
1 7 2 0
14 24 1 0
10 20 2 1
4 25 1 0
24 24 1 0
4 8 1 0
4 4 1 0
2 17 1 0
13 17 1 0
17 18 1 0
14 20 1 0
11 16 1 0
2 20 1 0
19 22 1 0
1 13 1 0
3 25 2 1
3 1 1 0
3 18 1 0
4 8 1 0
21 23 1 0
1 12 1 0
17 20 1 0
8 25 1 0
13 17 1 0
6 17 2 0
8 25 1 0
7 18 2 1
19 25 1 0
13 25 1 0
20 18 2 1
1 3 2 0
2 24 1 0
4 5 1 0
3 14 1 0
17 19 2 0
4 22 1 0
15 14 2 0
13 25 1 0
12 20 1 0
5 13 2 0
4 5 1 0
5 4 2 0
19 25 1 0
12 20 2 0
24 25 2 0
13 18 1 0
8 20 1 0
2 9 1 0
4 23 1 0
1 12 1 0
4 5 1 0
4 17 2 1
15 22 1 0
11 24 1 0
15 16 1 0
24 24 1 0
2 4 1 0
22 24 1 0
19 19 2 1
14 14 1 0
14 24 1 0
8 22 1 0
10 20 2 1
8 20 1 0
14 18 1 0
19 22 2 1
7 20 1 0
4 2 1 0
1 14 1 0
18 19 1 0
13 20 1 0
13 25 1 0
1 7 2 0
18 25 1 0
2 9 2 1
7 23 1 0
1 6 1 0
25 14 2 0
1 5 2 1
1 13 2 0
2 4 2 1
22 18 1 0
5 18 2 1
1 9 1 0
4 8 1 0
16 24 1 0
2 20 1 0
1 23 1 0
20 18 2 1
13 23 2 0
23 22 1 0
16 16 2 0
13 22 1 0
1 20 1 0
21 20 1 0
7 24 1 0
18 19 1 0
19 18 2 0
1 2 1 0
4 11 1 0
24 23 1 0
7 19 1 0
8 22 1 0
14 22 1 0
9 18 2 0
4 11 1 0
14 13 2 0
4 10 1 0
4 4 1 0
4 2 1 0
5 3 2 1
20 19 1 0
20 19 1 0
19 25 1 0
6 18 1 0
9 20 1 0
14 14 1 0
7 20 2 0
1 9 1 0
19 19 1 0
1 5 1 0
19 18 2 0
14 24 1 0
6 18 1 0
22 17 2 0
1 12 1 0
1 20 1 0
7 24 1 0
10 16 2 1
21 23 2 0
1 23 1 0
14 25 1 0
5 9 2 0
24 19 1 0
4 6 2 1
12 22 2 0
3 20 1 0
5 3 2 0
13 14 2 0
3 17 2 0
2 3 1 0
13 23 1 0
7 25 1 0
3 15 2 0
1 2 1 0
14 20 1 0
3 20 1 0
11 24 1 0
11 17 1 0
21 18 2 0
6 21 1 0
16 15 2 1
4 11 1 0
7 23 1 0
13 17 1 0
3 20 1 0
7 18 2 1
3 6 1 0
1 5 2 1
11 17 1 0
3 20 1 0
12 22 1 0
16 17 2 1
4 10 2 0
6 21 2 0
3 16 2 1
4 10 1 0
10 18 1 0
3 14 1 0
13 23 1 0
4 8 2 0
23 17 1 0
16 24 1 0
5 21 1 0
11 20 2 1
3 18 1 0
17 19 1 0
22 19 1 0
4 2 1 0
18 19 1 0
7 24 1 0
5 13 2 0
3 7 1 0
13 25 1 0
12 20 1 0
13 23 2 0
17 18 1 0
17 22 1 0
25 21 1 0
3 25 1 0
2 20 1 0
11 17 1 0
19 18 2 0
21 20 1 0
12 20 1 0
5 13 2 1
23 22 1 0
17 22 1 0
4 2 1 0
10 17 2 1
13 25 1 0
14 20 1 0
1 6 1 0
1 14 1 0
7 25 2 0
3 1 1 0
5 18 1 0
25 21 1 0
23 17 1 0
2 4 2 1
1 9 1 0
5 17 2 0
25 14 2 0
1 2 1 0
1 1
25 25
