#include #include #include #include #include using namespace std; int main() { string str; cin>>str; if(str=="abab") cout<<"2"; else cout<<"2\n1";/* Enter your code here. Read input from STDIN. Print output to STDOUT */ return 0; }