E. Pencil
time limit per test
2 seconds
memory limit per test
1024 megabytes
input
standard input
output
standard output
Example
Input
9
0 -4
0 4
4 4
-3 -3
-3 0
4 0
-2 -3
1 5
-2 -10
Output
10