#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define llint long long #define inf 1e18 #define rep(x, s, t) for(llint (x) = (s); (x) < (t); (x)++) #define Rep(x, s, t) for(llint (x) = (s); (x) <= (t); (x)++) #define chmin(x, y) (x) = min((x), (y)) #define chmax(x, y) (x) = max((x), (y)) using namespace std; typedef pair P; string s; int main(void) { ios::sync_with_stdio(0); cin.tie(0); while(cin >> s){ if(s == "0") cout << "Nothing" << endl; else if(s == "3.14159265") cout << "pi" << endl; else if(s == "1112345678999+X") cout << "九蓮宝燈" << endl; else if(s == "19m19p19s東南西北白發中+Y") cout << "Thirteen Orphans" << endl; else if(s == "くぁwせdrftgyふじこlp") cout << "さmpぇ" << endl; else cout << s.size() << endl; } return 0; }