e-olymp
Competitions

PP2. Week 1: March 1 - 7

Random point in a circle

Print a point chosen uniformly at random inside the circle of radius 1 centered at (a, b).

Input

One line contains three integers n (0 < n1000), a and b (-100a, b100).

Output

Print n lines. Each line must contain two integers x and y, where (x, y) is a uniformly chosen point strictly inside the circle of radius 1 centered at (a, b).

Time limit 1 second
Memory limit 128 MiB
Input example #1
5 3 6
Output example #1
3.876984 5.564813
2.235771 5.928483
3.268512 5.227540
3.298673 6.924705
2.274073 5.551337
Author Михаил Медведев