Spy
The secret object is protected by a circular fence with a radius of r, centered at the point (0, 0). A spy, trying to pinpoint the exact location of the secret object, has placed a bomb directly on the fence at the coordinates (a_x, a_y). The bomb is triggered by a remote detonator, which sends a signal in a straight line. The signal's strength is unaffected by the distance it travels.
According to confidential information, the fence completely absorbs any signal that passes through it, except for signals traveling tangentially. The spy, positioned outside the fenced area at the coordinates (b_x, b_y), intends to detonate the bomb. Determine whether the signal will successfully reach the bomb or be absorbed by the fence.
Input
The first line of the input contains the number r (r > 0). The second line contains two integers (a_x, a_y). The third line contains two integers (b_x, b_y). All integers in the input are within the range of (-10^3) to (10^3).
Output
On a single line, print YES if the signal reaches the bomb, or NO if it does not.