defmodule Main do def main do IO.gets("") |> String.trim |> String.to_integer |> out |> IO.puts end def out(1) do 0 end def out(0) do 1 end end