import java.util.Scanner

object Main {
  def main(args: Array[String]): Unit = {
    val sc = new Scanner(System.in)

    val a = sc.nextInt()
    val b = sc.nextInt()

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