Time limit
2s
Memory limit
128 MB
Choose N distinct positive integers whose sum is S. Given S, find the maximum possible value of N.
The first line contains a positive integer S.
Print the maximum possible value of N.