There are frogs on a number line. Frog is initially at integer coordinate .
You may perform the following operation any number of times, possibly zero.
The frogs want to gather as close to the origin as possible. After all operations, find the minimum possible value of .
The input is given in the following format:
Output the answer.
| 2 | 36 | . |
| 3 | 61 | No additional constraints. |