#include using namespace std; int main(){ cin.tie(0),ios::sync_with_stdio(false); string n; cin>>n; for(int i=0,size=n.size();i