1825: 【CSP循环】 因子求和█

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:4 Solved:3

Description

已知一个正整数 lns="http://www.w3.org/1998/Math/MathML">N lns="http://www.w3.org/1998/Math/MathML">20N800000000 ),请你编写程序求出该数的全部因子(不包括 lns="http://www.w3.org/1998/Math/MathML">1  lns="http://www.w3.org/1998/Math/MathML">n )的和。

Input

一个正整数 lns="http://www.w3.org/1998/Math/MathML">n 

Output

一个整数代表 lns="http://www.w3.org/1998/Math/MathML">n 的因子和。

Sample Input Copy

24

Sample Output Copy

35