Sensors#11822

Sensors

1 second
256 megabytes
Hard

You need to place sensors in different integer points on the plane.

Placement requirements:

Each of these segments may have other integer points on them (excluding the sensors themselves).

Given the number (1 \le k \le 10^9), find such a placement of sensors that exactly other integer points lie on the segments connecting these sensors.

Input

The first line contains one integer (1 \le k \le 10^9).

Output

Print 5 lines — one for each point. Each line should contain two integers x_i, y_i (-10^9 \le x_i, y_i \le 10^9). If there are multiple solutions, print any of them.

Examples

Example 1

Loading
Loading

Note