Three poles stand evenly spaced along a line, with heights given as ( a ), ( b ), and ( c ) meters, from left to right. An arrangement of the poles is considered beautiful if the tops of the poles lie on the same straight line, which mathematically translates to the condition:
[ b - a = c - b ]
Your task is to determine whether the arrangement of the poles is beautiful.
Input Format
The input will consist of three integers: ( a ), ( b ), and ( c ) (1 ≤ ( a, b, c ) ≤ 1000), separated by spaces.
Output Format
Print "Yes" if the arrangement is beautiful. Otherwise, print "No".
Example
Input
text
3 5 7
Output
text
Yes
Input
text
1 2 4
Output
text
No
Solution Location
Please implement your solution in the /app/ directory.
Important: place your implementation at /app/solution.py so the verifier can run it.