defmodule Main do
  def main do
    [a, b] =
      IO.read(:line)
      |> String.trim
      |> String.split(" ")
    a = String.to_integer(a)
    b = String.to_integer(b)
    if a <= 8 and b <= 8 do 
    IO.puts("Yay!") 
    else 
    IO.puts(":(") 
    end
  end
end
