Diagonal
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
The number of diagonals of an -gon is not less than . What is the minimum possible value of ?
Input
Contains less than lines. Each line contains a positive integer that indicates the minimum possible number of diagonals. Input is terminated by a line with one that should not be processed.
Output
For each test case produce one line that contains serial number and the minimum possible value for (number of sides).
Examples
Input #1
Answer #1
Submissions 2K
Acceptance rate 34%