import java.util.Scanner

fun main(args: Array<String>){
	val s = Scanner(System.`in`).nextLine()
	val S = s.split(" ")

	val A = Integer.parseInt(S[0])
	val B = Integer.parseInt(S[1])

	if(A > 8 || B > 8) println(":(")
	else println("Yay!")
}