Problem A
Political Distance
The current policy of the government can be represented by
the point
Input
The first line contains two integers
Output
Output one integer, the voter’s unhappiness with the current policy.
Sample Input 1 | Sample Output 1 |
---|---|
-8 4 2 -6 |
200 |
Sample Input 2 | Sample Output 2 |
---|---|
20 -3 20 1 |
16 |