// Online C++ compiler to run C++ program online #include #define ll long long using namespace std; ll demuocbasic(ll n) { ll Count=0; for(ll i=1;i<=trunc(sqrt(n));i++) { if(n%i==0) { if(i*i==n) Count+=i; else Count+=i+n/i; } } return Count; } int main() { ll n; cin>>n; if(n==0) cout<<0; else cout<