fun main(args: Array<String>){
    val keys = listOf(readLine()!!.toInt(),readLine()!!.toInt(),readLine()!!.toInt(),readLine()!!.toInt(),readLine()!!.toInt())
    val max = readLine()!!.toInt()
    var a : Boolean = false
    for (key in keys){
        for (key1 in keys){
            if(key - key1 > max) a = true
        }
    }
    println(if (a) ":(" else "Yay!")
}