#include #include #include #include #include using namespace std; #define LL long long int main(){ string s; cin>>s; int n=(int)s.size(); LL res=atoll(s.c_str()); for(int i=0;i