// Arup Guha
// 6/11/2025
// Solution to Kattis Problem: Canadians, eh?
// https://open.kattis.com/problems/canadianseh

using namespace std;
#include <bits/stdc++.h>

int main() {

    // Read in the line.
    string line;
    getline(cin, line);

    // Grab the last three letters.
    string end = line.substr( line.size()-3, 3);

    // Ta da!
    if (end == "eh?")
        cout << "Canadian!" << endl;
    else
        cout << "Imposter!" << endl;

    return 0;
}
