i=require("fs").readFileSync("/dev/stdin", "utf8").split("\n"),i.shift(),i.pop(),i.map((n)=>console.log(`Hitsuji ga ${Number(n.split(" ")[2])+1} hiki`));