Module Main
  Sub Main
    Dim s = Console.ReadLine()
    Dim ss = s.Split(" "c)
    Dim a = CInt(ss(0))
    Dim b = CInt(ss(1))
    If a > 8 OrElse b > 8 Then
      Console.WriteLine(":(")
    Else
      Console.WriteLine("Yay!")
    End If
  End Sub
End Module
