import java.io.*;

class Mine {
 public static void main(String arts[]) [
  Scanner sc = new Scanner(System.in);
  int A = sc.nextInt();
  int B = sc.nextInt();

  if(　A >=　9　) {
    System.out.print(":(");
  }
  if( B >= 9 ）{
    System.out.print(":(")
  }
  if( A < 9 B < 9 ) {
    System.out.print("Yay!")
  }
 ]
}