#include #include #include #include using namespace std; bool solve(int N[4]) { sort(N, N + 4); return N[3] != 1; } int main(int argc, char *argv[]) { int N[4]; string s; getline(cin, s); stringstream ss(s); ss >> N[0] >> N[1] >> N[2] >> N[3]; cout << (solve(N) ? "Taro" : "Jiro") << endl; return 0; }