#include // #include // using namespace atcoder; #include #include #include #define rep(i,n) for (int i = 0;i < (n); ++i) using namespace std; using ll = long long; using P = pair; #define chmax(x,y) x = max(x,y) using R=double; using ld = long double; int INF = 1e9; using graph = vector>; //using mint = modint1000000007; int main(){ int a,b,c,d;cin >> a >> b >> c >> d; a %= 4; b %= 4; c %= 4; d %= 4; if((a^b^c^d)==0) cout << "Jiro" << endl; cout << "Taro" << endl; }