import Data.String.Strip
import Data.List.Split

main :: IO ()
main = do
    input <- getLine
    let list = splitOn " " input
    let disp = if (8 >= (read (list !! 0))) && (8 >= (read (list !! 1)))
                        then "Yay!"
                        else ":("
    putStrLn disp
