import Control.Monad
import Data.List
main=do
    a<-readLn :: IO Int
    b<-readLn :: IO Int
    let s = abs $ a-b
    let r = 16-(a+b)
    putStrLn $ case s of
        s | s<=1 -> "Yay!"
        s | s*2<=r -> "Yay!"
        _ | True -> ":("
