#include #include using namespace std; int main() { int i,n; cin.getline(s,10001); n=strlen(s); for(i=0;i