100
23 2 1
40 5 0
30 4 0
60 1 0
54 4 0
49 4 0
59 2 0
45 3 0
60 1 0
21 5 1
27 2 0
21 4 0
28 2 0
51 5 0
56 5 0
55 5 0
52 3 0
28 1 0
28 5 0
54 3 0
59 5 0
43 1 0
59 5 0
39 2 0
55 2 0
51 3 0
52 5 0
58 3 0
42 5 0
47 3 0
39 5 0
20 1 1
22 4 0
35 5 0
23 4 0
44 5 0
53 4 0
36 3 0
43 5 0
54 5 0
36 1 0
41 1 0
53 4 0
32 2 0
22 2 0
30 5 0
46 5 0
21 5 0
36 5 0
26 2 0
28 1 0
20 1 0
35 5 0
36 5 0
25 3 0
37 4 0
25 5 0
31 2 0
25 5 1
50 2 0
41 2 0
31 2 0
58 1 0
24 3 0
35 2 0
27 4 0
52 4 0
23 5 0
48 2 0
42 3 0
42 4 0
48 1 0
22 5 0
56 5 0
29 5 0
42 3 0
32 4 0
43 3 0
47 2 0
60 3 0
46 1 0
52 1 0
53 2 0
26 5 1
44 4 0
50 1 0
54 3 0
26 4 1
51 5 0
39 5 0
46 3 0
20 1 0
57 3 0
60 2 0
24 3 0
45 1 0
55 1 0
22 5 0
27 1 0
22 3 1
