#include #include #include #include int main() { char s[2048]; std::cin >> s; int N = strlen(s); for(int i=0; i