puts eval(gets.gsub(' ',?^))==0?'Jiro':'Taro'