from collections import defaultdict,deque

import sys,heapq,bisect,math,itertools,string,queue,datetime

sys.setrecursionlimit(10**8)

INF = float('inf')

mod = 10**9+7

eps = 10**-7

def inp(): return int(eval(input()))

def inpl(): return list(map(int, input().split()))

def inpl_s(): return list(input().split())

atoz = [chr(i) for i in range(97,97+26)]



A,B = inpl()

if A<=8 and B<=8:

	print('Yay!')

else:

	print(':(')

A,B = list(map(int, input().split()))

if A<=8 and B<=8:

	print('Yay!')

else:

	print(':(')
from collections import defaultdict, deque
import sys, heapq, bisect, math, itertools, string, queue, datetime

sys.setrecursionlimit(10**8)
INF = float("inf")
mod = 10**9 + 7
eps = 10**-7


def inp():
    return int(eval(input()))


def inpl():
    return list(map(int, input().split()))


def inpl_s():
    return list(input().split())


atoz = [chr(i) for i in range(97, 97 + 26)]
A, B = inpl()
if A <= 8 and B <= 8:
    print("Yay!")
else:
    print(":(")

A, B = list(map(int, input().split()))
if A <= 8 and B <= 8:
    print("Yay!")
else:
    print(":(")

-from collections import defaultdict, deque -import sys, heapq, bisect, math, itertools, string, queue, datetime - -sys.setrecursionlimit(10**8) -INF = float("inf") -mod = 10**9 + 7 -eps = 10**-7 - - -def inp(): -    return int(eval(input())) - - -def inpl(): -    return list(map(int, input().split())) - - -def inpl_s(): -    return list(input().split()) - - -atoz = [chr(i) for i in range(97, 97 + 26)] -A, B = inpl() +A, B = list(map(int, input().split()))