|Contests||Virtual Contests||Problems||Submit||Runs Status||Rank List||Forum|
There are several test cases. For each test case, standard input contains a line with n ≤ 1,000,000,000. A line containing 0 follows the last case.
For each test case there should be single line of output answering the question posed above.
7 12 0