7  0  0
-2  0  1
3  40  1
-4  0  1
0  23  1
-3  -10  1
3  10  0
0  17  1
6  0  1
0  5  1
-5  0  1
0  10  1
10  0  1
0  -3  1
5  -1  1
-5  -1  1
0  -5  1
-5  0  1
0  -5  0
6  0  1
0  -17  1
-5  -10  1
5  10  0
0  -23  1
-5  0  1
0  -40  1
2  1  1
7  -1  0
10000
7  0  1
-2  0  1
3  40  1
-4  0  1
0  23  1
-3  -10  1
3  10  1
0  17  1
6  0  1
0  5  1
-5  0  1
0  10  1
10  0  1
0  -3  1
5  -1  1
-5  -1  1
0  -5  1
-5  0  1
0  -5  1
6  0  1
0  -17  1
-5  -10  1
5  10  1
0  -23  1
-5  0  1
0  -40  1
2  1  1
7  -1  1
10000
