#[allow(unused_imports)] use std::cmp::*; #[allow(unused_imports)] use std::collections::*; fn read() -> T { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); s.trim().parse().ok().unwrap() } fn read_vec() -> Vec { read::() .split_whitespace() .map(|e| e.parse().ok().unwrap()) .collect() } fn main() { let v: Vec = read_vec(); let grundy = v.iter().map(|&x| x % 4).fold(0, |sum, x| sum ^ x); if grundy == 0 { println!("Jiro"); } else { println!("Taro"); } }