Problem A
Odd Root Sum
Input: Standard Input
Output: Standard Output 
 , where m is the largest odd number not greater than n
, where m is the largest odd number not greater than nOr in other words you will have to find the value of S where,
 .
.
The input file contains at most 30000 lines of inputs. Each line contains a single 64-nit signed integer which denotes the value of n. Input is terminated by a line containing a single zero which should not b processed.
For each line of input produce one line of output. This line contains the value of S.
| 9 19 29 10000000 0 | 9 26 49 38426378 | 
Problemsetter: Shahriar Manzoor
Special Thanks To: Derek Kisman