local t = io.read("*n"); io.read() local s = (function () local tb = {} for i = 1, t do tb[i] = io.read() end return tb end)() for i = 1, t do local n = tonumber(s[i]:match("Hitsuji ga (%g+) hiki")) local ans = string.format("Hitsuji ga %s hiki", n + 1) print(ans) end