defmodule Main do def main do IO.gets("") |> String.trim() |> String.replace(~r/[Il]/, "1") |> String.replace(~r/[Oo]/, "0") |> IO.puts() end end