using System; using System.Linq;//リストの使用 using System.Collections.Generic; using System.Text;//テキストの高速出力に必要 class Program { static void Main() { long[] nums = Array.ConvertAll(Console.ReadLine().Split(' '),long.Parse); for(int i = 0; i < 4; i++) nums[i] %= 4; if(Nim(nums) == 0) Console.WriteLine("Jiro"); else Console.WriteLine("Taro"); } static int Nim(long[] grundys) {//xorが0か1(0以外)を返す int answer = 0; int n = grundys.Length; long xor = 0; for(int i = 0; i < n; i++) { xor ^= grundys[i]; } if(xor != 0) answer = 1; return answer; } }