import scala.io.StdIn

object Main extends App {
  val s = StdIn.readLine.split(" ")
  val a = s(0).toInt
  val b = s(1).toInt

  var solved: Boolean = false
  if (a > 8 || b > 8) {
    solved = false
  } else {
    solved = true
  }
  val result = if (solved) {
    "Yay!"
  } else {
    ":("
  }
  println(result)
}