Irrational pairwise distances#639

Irrational pairwise distances

0.5 seconds
64 megabytes
Easy

Construct a set of points on the Cartesian plane such that the following conditions are satisfied:

Input

The only line contains a natural number (1 \leq N \leq 1000) — the number of points in the set.

Output

Output lines, each containing two integers — the coordinates of a point (separated by a space). The absolute value of each coordinate must not exceed .

It is guaranteed that such a set exists. If there are multiple possible sets, output any one of them.

Examples

Example 1

Loading
Loading