defmodule Main do def main do solve(0) end def solve(x) do :io.format("~3..0b~n", [x]) res = input() if res == "locked", do: solve(x+1) 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