Module Module1

    Dim tmp As String()
    Dim A, B As Integer

    Sub Main()
        tmp = Split(Console.ReadLine)

        A = Int(tmp(0))
        B = Int(tmp(1))

        If A <= 8 And B <= 8 Then
            Console.WriteLine("Yay!")
        Else
            Console.WriteLine(":(")
        End If
    End Sub

End Module
