Олимпиадный тренинг

Задача 38665. Tangent to circle


Input
Five numbers – coordinates of the center and radius of the circle, coordinates of the point.

Imprint
The first line contains one number K, equal to the number of points of intersection of the tangents to the circle from the given point with the circle itself. Next in K lines are the coordinates of the points themselves.
 
Examples
# Input Output
1 2 2 2 2 5 2
0.50929 3.33333
3.49071 3.33333