fun main(args: Array<String>) {
    val line = readLine()
    val a = line?.split(" ")!!.get(0)
    val b = line?.split(" ")!!.get(1)
    var ret = false
    if (a.toInt() <= 8 && b.toInt() <= 8) {
        ret = true
    }
    println( if (ret) "Yay!" else ":(")
}
