import scala.math.max

object Main {
  def main(args:Array[String]) = {
    val sc = new java.util.Scanner(System.in)
    val a, b = sc.nextInt

    println(if(max(a, b) <= 8) "Yay!" else ":(")
  }
}
