eolymp
bolt
Try our new interface for solving problems
Problems

Point within a circle

Point within a circle

Check, if the point is inside the circle.

Input

The first line contains the coordinates of the circle center and its radius. The second line contains the coordinates of point A. All numbers are integers not exceeding 10000 by absolute value.

Output

Print the "YES", if the point A belongs to a circle (with boundaries), and "NO" otherwise.

Time limit 1 second
Memory limit 128 MiB
Input example #1
2 1 2
1 3
Output example #1
NO