#include #include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define INF ((1LL<<62)-(1LL<<31)) #define sall "ABCDEFGHIJKLMNOPQRSTUVWXYZ" #define sallm "abcdefghijklmnopqrstuvwxyz" #define bigprime (long long)1000000007 template inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; } template inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; } //long long fact(long long n){long long ans=1;for (long long i = 1; i <= n; i++) {ans=ans*i;}return ans;} int timeTosecond(int h,int m,int s){return h*3600+m*60+s;} int secondTohour(int s){return s/3600;} int secondTominutes(int s){return (s%3600)/60;} int secondTosecond(int s){return (s%3600)%60;} int main() { unsigned long long n; std::cin>> n; std::cout<