defmodule Main do 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: IO.puts(if b, do: "Yes", else: "No") def main do [a1, _b1, a2, _b2, a3, _b3] = li() x = rem(a1, 2) + rem(a2, 2) + rem(a3, 2) IO.puts if rem(x, 2) == 0, do: ":-)", else: ":-(" end end