5
1000 4
-10000 -10000
10000 -10000
10000 10000
-10000 10000
1 3
-10000 0
10000 0
10000 1
1 3
10000 0
-10000 0
-10000 -1
1 3
10000 0
10000 1
-1000 0
1 3
-10000 0
-10000 -1
10000 0
