import math def div(n): d = {} temp = int(math.sqrt(n))+1 for i in range(2, temp): while n%i== 0: n //= i if i in d: d[i] += 1 else: d[i] = 1 if d == {}: d[n] = 1 else: if n in d: d[n] += 1 elif n != 1: d[n] = 1 return d n = int(input()) d = div(n) ans = 1 for k, v in d.items(): temp = 0 for i in range(v+1): temp += k**i ans *= temp print(ans)