#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<bitset>
#include<set>
#include<map>
#include<stack>
#include<queue>
#include<deque>
#include<list>
#include<iomanip>
#include<cmath>
#include<cstring>
#include<functional>
#include<cstdio>
#include<cstdlib>
using namespace std;
 
#define repr(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define rep(i, n) repr(i, 0, n)
#define INF 2e9
#define MOD 1000000007
//#define MOD 998244353
#define LINF (long long)4e18
#define jck 3.141592
 
const double EPS = 1e-10;
 
using ll = long long;
using Pi = pair<int,int>;
using Pl = pair<ll,ll>;

int main(){
    string s; cin >> s;
    if(s[0] == '0') cout << "Nothing" << endl;
    else if(s[0] == '3') cout << "pi" << endl;
    else if(s[0] == '1'){
        cout << "九蓮宝燈" << endl;
        cout << "Thirteen Orphans" << endl;
    }
    else if(s[0] == 'A'){
        cout << 3 << endl;
        cout << 4 << endl;
        cout << 4 << endl;
        cout << 3 << endl;
        cout << 6 << endl;
        cout << 2 << endl;
        cout << 2 << endl;
    }
    else{
        cout << "さmpぇ"<< endl;
    }
}