On a street represented as a straight line, a police officer patrols a section located between points with coordinates $$$A$$$ and $$$B$$$.
The patrolling is carried out under the following rules:
At time $$$T$$$, the police officer receives a radio command to stop patrolling and proceed to point $$$C$$$, which is also located on the patrolled street. He immediately stops patrolling and begins to move towards point $$$C$$$ at a speed of $$$1\, \mathrm{m/s}$$$.
In the first line, the coordinates of the patrolled section $$$A$$$ and $$$B$$$ are given ($$$0 \le A, B \le 10^5$$$, $$$A \ne B$$$).
In the second line, the moment of receiving the command $$$T$$$ ($$$0 \le T \le 10^9$$$) and the coordinate of point $$$C$$$ ($$$0 \le C \le 10^5$$$) are given.
All numbers in the input are integers. All coordinates are given in meters.
Output the sought number of seconds from the moment of receiving the call to the moment the police officer arrives at point $$$C$$$.
3 8 10 1
2
6 1 7 9
6
| Name |
|---|


