Any natural number can be represented as the sum of several consecutive natural numbers. For example, the number can be represented as the sum of one (), two (12 + 13), or five numbers (3 + 4 + 5 + 6 + 7). Write a program that determines the maximum number of numbers in such a decomposition.
The first line of the input contains an integer (1 \leq N \leq 10^9).
Output a single integer — the maximum number of terms in a decomposition of into consecutive natural numbers.
Example 1