import Data.List.Split

import Control.Monad

getLineRepeat :: Int -> IO [String]
getLineRepeat times = replicateM times getLine

main = do
	input <- getLineRepeat 6
	let a = read <$> input :: [Int]
	let max = a !! 5
	putStrLn $ if any (\x -> x > max) [a2 - a1 | a1 <- init a, a2 <- init a, a1 < a2] then ":(" else "Yay!"
