import Data.Bool

main = putStrLn . solve . map read . words =<< getContents

solve :: [Int] -> String
solve xs = bool ":(" "Yay!" $ abs(n-m) <= k
    where
        (k:ns) = reverse xs
        n = head ns
        m = last ns
