eolymp
bolt
Try our new interface for solving problems
Problems

y = sin x

y = sin x

\includegraphics{https://static.e-olymp.com/content/49/49270e28ebc371c9e6e548fe5edf6353526f0ecb.jpg} Determine whether a point belongs to \textbf{A}, given the coordinates (\textbf{x_0}; \textbf{y_0}), part of the plane bounded by a segment of the abscissa from \textbf{0} to and sinusoid \textbf{y = sin }\textit{\textbf{x}}. \InputFile In a single line given the coordinates of a given point (\textbf{x_0}; \textbf{y_0}). The coordinates of the points do not exceed the modulo \textbf{100}. \OutputFile In a single line display a message \textbf{YES} - if the point belongs to this part of the plane, \textbf{NO} - if not own, and \textbf{ON BORDER} - if we "lucky" and a point belongs to the line, which restricts the specified portion of the plane. In this problem, assume that the point belongs to any of the boundary lines of the specified portion of the plane, if at the same abscissas distance from it to some of the limiting lines ofplane of the along the vertical axis is less than \textbf{0.00001}, orat the same coordinates, the distance from point to some of the constraints of the plane line on the horizontal axis and less than \textbf{0.00001}.
Time limit 1 second
Memory limit 128 MiB
Input example #1
3.1415926 0
Output example #1
ON BORDER
Source ДПА 2011 - в.2