Problem B
For, against, or on the Fence
Languages
en
is
The current policy of the government can be represented by a
point in the plane. A voter’s ideal policy would be represented
by the point
The voter’s unhappiness with the current policy is
Input
The first line contains two integers
Output
Output for if the voter would be happier with the newly proposed policy, against if they would be unhappier, or on the fence if they would be equally happy either way.
Sample Input 1 | Sample Output 1 |
---|---|
-8 4 2 -6 200 |
on the fence |
Sample Input 2 | Sample Output 2 |
---|---|
20 -3 20 1 10 |
against |
Sample Input 3 | Sample Output 3 |
---|---|
1 1 0 0 3 |
for |