#include #include #include #include #include #include using namespace std; typedef long long int llint; #define pub push_back //A //BABA int main(void){ string n; int i,ans=1; cin>>n; for(i=0;i