#include<bits/stdc++.h>
using namespace std;
int main(){
  string s;
  cin>>s;
  if(s.find("mw")!=string::npos||s.find("wm")!=string::npos||s.find("ee")!=string::npos)cout<<"Rabbit"<<endl;
  else cout<<"Cat"<<endl;
}
### Prompt

Generate a Cpp solution to the following problem:

Example

Input

mmemewwemeww


Output

Cat

### Response

```cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
  string s;
  cin>>s;
  if(s.find("mw")!=string::npos||s.find("wm")!=string::npos||s.find("ee")!=string::npos)cout<<"Rabbit"<<endl;
  else cout<<"Cat"<<endl;
}
```