module Main where

import Control.Applicative
import Control.Monad

main :: IO ()
main = do
    [a, b] <- fmap read . words <$> getLine :: IO [Int]
    if a <= 8 && b <= 8
        then putStrLn "Yay!"
        else putStrLn ":("