Sum Of All Divisors Of A Number

easy
1. You've to display the sum of all divisors of a number.
2. Take an input "n", the number for which the sum of all divisors to be calculated.

Input Format

An integer n

Output Format

An integer n representing sum of divisors

Constraints

1<=n<=100

Notice

Try First, Check Solution later

1. You should first read the question and watch the question video.
2. Think of a solution approach, then try and submit the question on editor tab.
3. We strongly advise you to watch the solution video for prescribed approach.

Example

Input
36
Output
55
Previous
Check If Given Number Is Palindrome Or Not
Next
Moving Stones Until Consecutive

Related Questions