#include <iostream>
#include <fstream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <cstring>
#include <string>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <algorithm>
using namespace std;
 
#define REP(i,n) for(int i=0; i<n; ++i)
#define FOR(i,a,b) for(int i=a; i<=b; ++i)
#define FORR(i,a,b) for (int i=a; i>=b; --i)
#define pi M_PI
 
typedef long long ll;
typedef vector<int> VI;
typedef vector<ll> VL;
typedef vector<VI> VVI;
typedef pair<int,int> P;
typedef pair<ll,ll> PL;

string s;
bool f = 1;

void iscat(int &i){
    if (s[i] != 'm') return;
    i++;
    iscat(i);
    if (s[i] != 'e' || !f) {
        f = 0;
        return;
    }
    i++;
    iscat(i);
    if (s[i] != 'w' || !f) {
        f = 0;
        return;
    }
    i++;
}

int main() {
    cin >> s;
    int i = 0;

    iscat(i);

    if (f && i == s.length()) cout << "Cat" << endl;
    else cout << "Rabbit" << endl;


    return 0;
}
### Prompt

Your task is to create a Cpp solution to the following problem:

Example

Input

mmemewwemeww


Output

Cat

### Response

```cpp
#include <iostream>
#include <fstream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <cstring>
#include <string>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <algorithm>
using namespace std;
 
#define REP(i,n) for(int i=0; i<n; ++i)
#define FOR(i,a,b) for(int i=a; i<=b; ++i)
#define FORR(i,a,b) for (int i=a; i>=b; --i)
#define pi M_PI
 
typedef long long ll;
typedef vector<int> VI;
typedef vector<ll> VL;
typedef vector<VI> VVI;
typedef pair<int,int> P;
typedef pair<ll,ll> PL;

string s;
bool f = 1;

void iscat(int &i){
    if (s[i] != 'm') return;
    i++;
    iscat(i);
    if (s[i] != 'e' || !f) {
        f = 0;
        return;
    }
    i++;
    iscat(i);
    if (s[i] != 'w' || !f) {
        f = 0;
        return;
    }
    i++;
}

int main() {
    cin >> s;
    int i = 0;

    iscat(i);

    if (f && i == s.length()) cout << "Cat" << endl;
    else cout << "Rabbit" << endl;


    return 0;
}
```