Time Limit: 1s
Memory Limit: 128MB
xiaoY walked on the ZiJing road of HUST, Suddenly he got a message which tell him Mr HH want check homework today. Without hesitation, xiaoY began running faster and faster to Mr HH's class, suppose xiaoY stood at X0, and ZiJing road can be considered as a horizontal line, Mr HH's class is at the end of this road.
Now give you X0, xiaoY's initial speed V0, xiaoY’s acceleration a0, and the end of the road X1.
Just calculate how much time xiaoY need to catch the class!
Each case is described with 4 integers
X0 V0 a0 X1
0 0 0 0 indicates end of input!
A real number rounded to 2nd digital after decimal point
0 0 1 2 0 0 0 0