a,b,c,d = map(int,input().split()) import sys sys.setrecursionlimit(10 ** 8) from functools import lru_cache @lru_cache(maxsize = 1000) def calc(a,b,c,d): if a == 0 and b == 0 and c == 0 and d == 0: return (0,0) tmp = 0 for u in (a,b,c,d): for i in range(1,min(u,3)+1): x,y = calc(a-i,b,c,d) if tmp < y + i:tmp = y + i return (tmp,a + b + c + d - tmp) x,y = calc(a,b,c,d) if x > y: print('Taro') elif x == y: print('Draw') else: print('Jiro')