defmodule Main do def main do n = ii() ans = for i <- 0..n-1 do s = String.codepoints(input()) if Enum.at(s, i) == "a", do: "b", else: "a" end IO.puts ans end def input, do: IO.read(:line) |> String.trim def ii, do: input() |> String.to_integer def li, do: input() |> String.split |> Enum.map(&String.to_integer/1) def yn(b), do: (if b, do: "Yes", else: "No") end