Diagonal#1548

Diagonal

1 second
128 megabytes
Very easy

The number of diagonals in an -gon is at least . What is the smallest possible value that can take?

Input

Contains no more than lines. Each line contains a positive integer (N \le 10^{15}) — the minimum number of diagonals. The last line contains and should not be processed.

Output

For each test case, print its number and the smallest possible value of — the number of sides of the polygon.

Examples

Example 1

Loading
Loading