There's a line of meters. You need to start at , and arrive . There are obstacles on the line. Each obstacle has a position and height .
You have two ways to move, first one - just walk towards the destination, second one - jump to avoid obstacles.
If you are meters far from the start point, and meters high, we say you are at . A jump means, start from , travel along the line and then , which is the start position of the jump, and is the height of the jump. If one of the two lines pass through any obstacle, this jump is illegal (It's legal to pass through the highest point of a obstacle). The height is decide by yourself, but it should less than . is your rising speed and falling speed.
Arrive means, your position should be (L,0) at some time.
You need to determine if it's possible to arrive .
First line contains four integers, .
The th line contains two integers, .
"Yes" or "No".
Check this graph. The red line is your path, the blue line is the height limit, and the black lines are the obstacles. In this sample, if , the result will be "No".