#P1647. 最大公约数之和

最大公约数之和

题目很简单,求出:

Input

每行一个数n(n<2^31),以文件结束。

Output

每个结果占一行。

Sample Input

12

Sample Output

40

HINT

Source