#include int main() { int64_t N, ans{1ll}; scanf("%lld", &N); for (int64_t i{2ll}; i * i <= N; i++) { int64_t tmp{1}; for (int64_t j{i}; N % i == 0; j *= i, N /= i) tmp += j; ans *= tmp; } if (N > 1) ans *= N + 1; printf("%lld\n", ans); return 0; }