Sky Jump#3600

Sky Jump

30 seconds
256 megabytes
Very hard

Dr. Kay Em, a genius scientist, developed a new missile named "Ikan-no-i." This missile has jet engines. When the -th engine is ignited, the missile's velocity changes to (vx_i, vy_i) immediately.

Your task is to determine whether the missile can reach the given target point (X, Y). The missile can be considered as a mass point in a two-dimensional plane with the -axis pointing up, affected by the gravity of downward (i.e. the negative -direction) and initially set at the origin . The engines can be ignited at any time in any order. Still, note that at least one of them needs to be ignited to get the missile launched.

Input

The input consists of multiple datasets. Each dataset has the following format.

vx_1 vy_1 vx_2 vy_2 ... vx_N vy_N

All values are integers and meet the following constraints: 1 \le N \le 1000, 0 < vx_i \le 1000, -1000 \le vy_i \le 1000, 0 < X \le 1000, -1000 \le Y \le 1000.

The end of input is indicated by a line with a single zero.

Output

For each dataset, output whether the missile can reach the target point in a line: "Yes" if it can, "No" otherwise.

Examples

Example 1

Loading
Loading