Problem:
 Score: 100 points    Problem Statement  E869120's and square1001's 16 -th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan-shaped pieces.  E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake".  Can both of them obey the instruction in the note and take desired numbers of pieces of cake?      Constraints   A and B are integers between 1 and 16 (inclusive).  A+B is at most 16 .         Input  Input is given from Standard Input in the following format:  A  B       Output  If both E869120 and square1001 can obey the instruction in the note and take desired numbers of pieces of cake, print Yay! ; otherwise, print :( .        Sample Input 1 5 4      Sample Output 1 Yay!  Both of them can take desired number of pieces as follows:       Sample Input 2 8 8      Sample Output 2 Yay!  Both of them can take desired number of pieces as follows:       Sample Input 3 11 4      Sample Output 3 :(  In this case, there is no way for them to take desired number of pieces, unfortunately.

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

Solution (Python):
a,b = map(int,input().split())
if a<9 and b<9:
    print("Yay!")
else:
    print(":(")

Solution (Python):
A, B = map(int, input().split())

print('Yay!' if A <= 8 and B <= 8 else ':(')

Solution (Python):
a, b = map(int, input().split())
if a <= 8 and b <= 8:
  print("Yay!")
else:
  print(":(")

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

Solution (Python):
a, b = map(int, input().split())
if a >= 9 or b >= 9:
  print(":(")
else:
  print("Yay!")

Solution (Python):
a, b = map(int, input().split())
print('Yay!' if (a<=8)*(b<=8) else ':(')

Solution (Python):
print(['Yay!',':('][max(map(int,input().split()))>8])

Solution (Python):
a,b=map(int,input().split())
print("Yay!" if a<9 and b<9 else ":(")

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

Solution (Python):
a,b=map(int,input().split());print("Y:a(y !"[a>8 or 8<b::2])

Solution (Python):
A, B = map(int, input().split())
cakes = [i for i in range(1, 17)]
if A <= len(cakes[0::2]) and B <= len(cakes[1::2]):
    print('Yay!')
else:
    print(':(')

Solution (Python):
A, B = map(int, input().split())
if 8 < A or 8 < B:
    print(':(')
else:
    print('Yay!')

Solution (Python):
a,b = map(int, input().split())

if a > 8:
    print(':(')
    exit()
if b > 8:
    print(':(')
    exit()
print('Yay!')

Solution (Python):
a, b = map(int, input().split())
print("Yay!" if (a <= 8 and b <= 8) else ":(")

Solution (Python):
a,b = map(int, input().split())
print("Yay!" if a <= 8 and b <=8 else ":(")

Solution (Python):
ls=[int(s) for s in input().split()]
if max(ls)>8:
  print(":(")
else:
  print("Yay!")

Solution (Python):
a, b = map(int, input().split())
if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
A,B = map(int,input().split(" "))

if A <= 8 and B <= 8:
  print("Yay!")
else:
  print(":(")

Solution (Python):
a,b=map(int,input().split())
print("Yay!" if abs(a-b)<=1 else ":(")

Solution (Python):
A,B = [int(x) for x in input().split()]
if A*2>16 or B*2>16:
  print(":(")
else:
  print("Yay!")

Solution (Python):
a,b=map(int,input().split())
print('Yay!' if max(a,b)<=8 else ':(')

Solution (Python):
A,B = map(int,input().split())

if A<=8 and B<=8:
  print('Yay!')
else:
  print(':(')

Solution (Python):
A,B=map(int,input().split())
if A>8 or B>8:
    print(':(')
else:
    print('Yay!')

Solution (Python):
A,B=map(int,input().split())
if A<9 and B<9:
    print('Yay!')
else:
    print(':(')

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

Solution (Python):
a,b=map(int,input().split())
print(":(" if a>8 or b>8 else "Yay!")

Solution (Python):
a,b = map(int, input().split())
if a<=8 and b <= 8:
  print("Yay!")
else:
  print(":(")

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

Solution (Python):
a, b = map(int, input().split())

if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
A,B = map(int,input().split())

if A <= 8 and B <= 8:
    print('Yay!')

else:
    print(':(')

Solution (Python):
A,B = (int(i) for i in input().split())

if A <= 8 and B <= 8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
a,b=map(int,input().split())
if a>8 or b>8:
  print(":(")
else:
  print("Yay!")

Solution (Python):
a,b=map(int,input().split())
print('Yay!' if a<9 and b<9 else ':(')

Solution (Python):
[a, b] = list(map(int, input().split()))
if a <= 8 and b <= 8:
  print("Yay!")
else:
  print(":(")

Solution (Python):
A, B = map(int, input().split())

if A <= 8 and B <= 8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
a,b=map(int,input().split())
print('Yay!' if a<9 and b<9 else ':(')

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

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

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

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

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

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

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

Solution (Python):
a,b = map(int, input().strip().split(' '))
print('Yay!' if max(a,b) <= 8 else ':(')

Solution (Python):
a,b=map(int,input().split())
if a<=8 and b<=8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
a, b = map(int, input().split())
if a<=8 and b<=8:
  print("Yay!")
else:
  print(":(")

Solution (Python):
a, b = map(int, input().split())
if max(a,b) <= 8:
  print("Yay!")
else:
  print(":(")

Solution (Python):
a, b = map(int, input().split())

print('Yay!' if a <= 8 and b <= 8 else ':(')

Solution (Python):
a, b = map(int, input().split())

if a <= 8 and b <= 8:
        print('Yay!')
else:
        print(':(')

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

Solution (Python):
A, B = map(int,input().split())

if A<=8 and B<=8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
a,b=map(int,input().split())
if a<=8 and b<=8:
  print('Yay!')
else:
  print(':(')

Solution (Python):
A,B =[int(x) for x in input().split()]
if A>8 or B>8:
    print(":(")
else:
    print("Yay!")

Solution (Python):
a,b = map(int,input().split())
if a > 8 or b > 8:
    print(':(')
else:
    print('Yay!')

Solution (Python):
a, b = list(map(int, input().split()))
if a <= 8 and b <= 8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
a,b=map(int,input().split())
print('Yay!' if a<=8 and b<=8 else ':(')

Solution (Python):
import sys
sys.setrecursionlimit(200000)
input = sys.stdin.readline

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

if A <= 8 and B <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
a, b = map(int, input().split())
if a>8 or b>8:
        print(":(")
else:
        print("Yay!")

Solution (Python):

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

Solution (Python):
A,B = map(int,input().split())
print([":(","Yay!"][A<9 and B<9])

Solution (Python):
a,b=map(int,input().split())
print(':(' if a>8 or b>8 else 'Yay!')

Solution (Python):
print(":(") if max(list(map(int,input().split())))>8 else print("Yay!")

Solution (Python):
a,b = map(int,input().split())
print("Yay!" if a <=8 and b <=8 else ":(")

Solution (Python):

a,b = map(int,input().split())
print(':(' if a > 8 or b > 8 else 'Yay!')

Solution (Python):
a, b = map(int, input().split())
print("Yay!" if a <= 8 and b <= 8 else ":(")

Solution (Python):
a, b = map(int, input().split())
if a <= 8 and b <= 8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
a,b = map(int,input().split())
if a <= 8 and b <= 8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
A, B = map(int, input().strip().split())
if A < 9 and B < 9:
    print('Yay!')
else:
    print(':(')

Solution (Python):
A, B = map(int,input().split())
if max(A,B)<=8:
  print('Yay!')
  exit()
print(':(')

Solution (Python):
A,B=map(int, input().split())

if A>8 or B>8:
  print(':(')
else:
  print('Yay!')

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

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

Solution (Python):
a, b = map(int, input().split())
if a <= 8 and b <= 8:
  print("Yay!")
else:
  print(":(")

Solution (Python):
A, B = map(int, input().split())

if A > 8 or B > 8:
    print(':(')
else:
    print('Yay!')

Solution (Python):
a,b=map(int,input().split())
if a>8 or b>8:
  print(":(")
else:
  print("Yay!")

Solution (Python):
a, b = map(int, input().split())
print("Yay!" if (a <= 8 and b <= 8) else ":(")

Solution (Python):
n=list(input().split())
a=int(n[0])
b=int(n[1])
if a<=8 and b<=8 :
  print('Yay!')
else:
  print(':(')

Solution (Python):
a,b = map(int,input().split())
if a<=8 and b<=8:
  print('Yay!')
else:
  print(':(')

Solution (Python):
a,b = map(int, input().split())
if a <= 8 and b <= 8:
  print('Yay!')
else:
  print(':(')

Solution (Python):
a,b=map(int,input().split());print('Yay!'if a<9 and b<9 else ':(')

Solution (Python):
a,b = map(int,input().split())
print("Yay!") if a<=8 and b<=8 else print(":(")

Solution (Python):
a,b=map(int,input().split())

if a<=8 and b<=8:
  print('Yay!')
else:
  print(':(')

Solution (Python):
a,b = [int(i) for i in input().split()]
if a <= 8 and b <= 8:
    print('Yay!')
else:
    print(':(')

Solution (Python):

a, b = map(int, input().split())
print("Yay!" if a < 9 and b < 9 else ":(")

Solution (Python):
a, b = map(int, input().split())
if a<=8 and b<=8:
  print('Yay!')
else:
  print(':(')

Solution (Python):
a,b = map(int,input().split())
if a > 8 or b > 8:
    print(":(")
else:
    print("Yay!")

Solution (Python):
A,B = map(int,input().split())

if A<= 8 and B <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
s = list(map(int,input().split()))

if s[0] <= 8 and s[1] <= 8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
a,b = map(int,input().split())
print('Yay!' if a<=8 and b<=8 else ':(')

Solution (Python):
A, B = map(int, input().split())

if A <= 8 and B <= 8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
n = list(map(int, input().split()))
print("Yay!") if all([i <= 8 for i in n]) else print(":(")

Solution (Python):
a, b = map(int, input().split())
if a <= 8 and b <= 8:
  print('Yay!')
else:
  print(':(')

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

Solution (Python):
a, b = map(int, input().split())
if a <= 8 and b <= 8:
    print('Yay!')
else:
    print(':( ')

Solution (Python):
a, b = map(int, input().split())

if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
A,B=map(int,input().split())
A,B=max(A,B),min(A,B)
num=A-B
rest=16-2*A
if rest>=2*num:
  print('Yay!')
else:
  print(':(')

Solution (Python):
a,b = map(int, input().split())
print('Yay!' if a<=8 and b<=8 else ':(')

Solution (Python):
A, B = map(int, input().split())
if A>8 or B>8:
  print(':(')
else:
  print('Yay!')

Solution (Python):
a,b =map(int,input().split())
print(":(" if a>8 or b>8 else "Yay!")

Solution (Python):
A, B =map(int,input().split())
if max(A,B)>8:
    print(":(")
else: print("Yay!")

Solution (Python):
a,b = map(int,input().split())
if a > 8 or b > 8:
    print(':(')
else:
    print('Yay!')

Solution (Python):
print("Yay!" if all(int(tok) <= 8 for tok in input().split()) else ":(")

Solution (Python):
a,b=map(int,input().split())
if(a+b%2==0):
    print('Yay!')
elif(a < 9 and b < 9):
    print('Yay!')
else:
    print(':(')

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

Solution (Python):
a, b = map(int, input().split(" "))
print("Yay!" if a <= 8 and b <= 8 else ":(")

Solution (Python):
a, b = map(int, input().split())
print('Yay!' if a<=8 and b<=8 else ':(')

Solution (Python):
a, b = map(int, input().split())

if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
a = [int(_) for _ in input().split()]
if len(a) == 2 and 1 <= a[0] <= 16 and 1 <= a[1] <= 16 and a[0] + a[1] <= 16:
    if a[0] <= 8 and a[1] <= 8:
        print('Yay!')
    else:
        print(':(')
else:
    print('hoge!')

Solution (Python):
source = input().split()
A, B = int(source[0]), int(source[1])
if A <= 8 and B <= 8:
    print('Yay!')
else:
    print(':(')

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

Solution (Python):
num = input().split()
if int(num[0])<=8 and int(num[1])<=8:
  print("Yay!")
else:
  print(":(")

Solution (Python):
a,b=map(int,input().split())
if a>8 or b>8:
    print(":(")
else:
    print("Yay!")

Solution (Python):
import sys
from collections import deque
from collections import  Counter
import statistics
import math
stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

a, b = na()
if a <= 8 and b <=8:
    print("Yay!")
else:
    print(':(')

Solution (Python):
a, b = map(int,input().split())
if a <= 8 and b<= 8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
a,b = map(int,input().split())
print("Yay!") if a<=8 and b<=8 else print(":(")

Solution (Python):
a,b = map(int,input().split())
print(":(" if a>8 or b>8 else "Yay!")

Solution (Python):
a,b=map(int,input().split())

if a>8 or b>8:
  print(':(')
else:
  print('Yay!')

Solution (Python):
A, B = map(int, input().split())
if A > 8 or B > 8:
    print(':(')
else:
    print('Yay!')

Solution (Python):


a,b = map(int, input().split())

if a<= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
a, b = map(int, input().split())
if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(':(')

Solution (Python):
a,b=map(int,input().split())
print('Yay!' if max(a,b)<9 else ':(')

Solution (Python):
a,b=map(int,input().split())
if a<=8 and b<=8:
    print("Yay!")
else:print(":(")

Solution (Python):
a,b = map(int,input().split())
if a<=8 and b<=8:
  print("Yay!")
else:
  print(":(")

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

Solution (Python):
def main():
	N,M = map(int,input().split())
	if max(N,M) > 8:
		print(":(")
	else:
		print("Yay!")

if __name__ == "__main__":
	main()

Solution (Python):
A,B = sorted(list(map(int,input().split())))

if B<=8:
  print("Yay!")
else:
  print(":(")

Solution (Python):
a, b = map(int, input().split())
if a > 8 or b > 8:
  print(':(')
else:
  print('Yay!')

Solution (Python):
a, b = map(int, input().split())
print('Yay!' if a <= 8 and b <= 8 else ':(')

Solution (Python):
a, b = map(int, input().split())

if a <= 8 and b <= 8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
l = input().split(' ')
a = int(l[0])
b = int(l[1])

if(a*2 <= 16 and b*2 <= 16):
    print('Yay!')
else:
    print(':(')

Solution (Python):
import sys
import math
from fractions import gcd





def lcm(a, b):
    return a * b // gcd(a, b)

def combination_count(n, r):
    return math.factorial(n) // (math.factorial(n - r) * math.factorial(r))

def permutations_count(n, r):
    return math.factorial(n) // math.factorial(n - r)

big_prime = 1000000007

"""


 =  sys.stdin.readline().rstrip()
 =  list(sys.stdin.readline().rstrip())


 =  int(sys.stdin.readline())
 =  map(int, sys.stdin.readline().split())
 =  list(map(int, sys.stdin.readline().split()))
 =  [list(map(int,list(sys.stdin.readline().split()))) for i in range(N)]
"""

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

Solution (Python):
a,b =map(int, input().split())
if 9>a and 9>b:
    print("Yay!")
else:
    print(":(")

Solution (Python):
a, b = map(int, input().split())
if a<= 8 and b<=8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
a, b = map(int, input().split())

if max(a, b) > 16 // 2:
    print(':(')
else:
    print('Yay!')

Solution (Python):
N, K = map(int, input().split())
print("Yay!" if N<=8 and K<=8 else ":(")

Solution (Python):
a, b = map(int, input().split())

if a <= 8 and b <= 8:
  print('Yay!')
else:
  print(':(')

Solution (Python):
a,b=map(int,input().split())
print('Yay!' if a<9 and b<9 else ':(')

Solution (Python):


def main():

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

    print('Yay!') if A<=8 and B<=8 else print(':(')

if __name__== "__main__":
    main()

Solution (Python):
a, b = map(int, input().split())
print("Yay!" if 9>a and 9>b else ":(")

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

Solution (Python):
a, b = map(int, input().split())

if (a > 8 or b > 8):
	print(":(")
else:
	print("Yay!")

Solution (Python):
A,B = sorted(list(map(int,input().split())))

if B<=8:
  print("Yay!")
else:
  print(":(")

Solution (Python):
a,b = map(int, input().split())
print("Yay!" if a<=8 and b<=8 else ":(")

Solution (Python):
a = list(map(int,input().split()))
print('Yay!' if all(x <= 8 for x in a) else ':(')

Solution (Python):
x,y = map(int,input().split())	
if(x<=8 and y<=8):
    print("Yay!")
else:
    print(":(")

Solution (Python):
a,b = map(int,input().split())

if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

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

Solution (Python):
A,B = list(map(int,input().split()))
if A>8 or B>8:
  print(':(')
else:
  print('Yay!')

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

Solution (Python):
a, b = map(int, input().split())
if a<=8 and b <=8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
import math

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

if __name__ == '__main__':
    print(main())

Solution (Python):
a, b = map(int, input().split())
print('Yay!' if a <= 8 and b <= 8 else ':(')

Solution (Python):
a, b = map(int, input().split())
if max(a, b) < 9:
    print("Yay!")
else:
    print(":(")

Solution (Python):
a, b = list(map(int, input().split()))

if a >=9 or b >=9 :
    print(':(')
else:
    print('Yay!')

Solution (Python):
a,b = map(int, input().split())

if a<=8  and b<=8:
  print('Yay!')
else:
  print(':(')

Solution (Python):
a, b = map(int, input().split())
print('Yay!' if a <= 8 and b <= 8 else ':(')

Solution (Python):

a, b = map(int, input().split())


if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
a,b=map(int,input().split())
print(":(" if a>8 or b>8 else "Yay!")

Solution (Python):
a, b = map(int, input().split())
print('Yay!' if a <= 8 and b <= 8 else ':(')

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

Solution (Python):
print(
  "Yay!"
  if all(map(
    lambda x: x <= 8,      
    map(int, input().split())
  ))
  else ":("
)

Solution (Python):
a, b = (int(i) for i in input().split())
print("Yay!" if a <= 8 and b <= 8 else ":(")

Solution (Python):
a,b = map(int,input().split())
print("Yay!" if a<=8 and b<=8 else ":(")

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

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

Solution (Python):
a, b = list(map(int, input().split()))
print("Yay!" if a <= 8 and b <= 8 else ":(")

Solution (Python):
a, b = map(int, input().split())
print('Yay!' if a <= 8 and b <= 8 else ':(')

Solution (Python):
A,B = map(int,input().split())
if A < 9 and B < 9:
    print('Yay!')
else : 
    print(':(')

Solution (Python):
a,b = map(int,input().split())
if a > 8 or b > 8:
    print(":(")
else:
    print("Yay!")

Solution (Python):
def solve():
    a, b = map(int, input().split())
    return "Yay!" if a <= 8 and b <= 8 else ":("


if __name__ == "__main__":
    print(solve())

Solution (Python):
A, B = [int(x) for x in input().split()]
print('Yay!') if A<=8 and B<=8 else print(':(')

Solution (Python):
a,b = map(int,input().split())
if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
a,b=map(int,input().split())
if a<=8 and b<=8:
  print("Yay!")
else:
  print(":(")

Solution (Python):
a,b = map(int,input().split())
print('Yay!' if a<9 and b<9 else ':(')

Solution (Python):
x,y=map(int,input().split())
if x<9 and y<9:
  print("Yay!")
else:
  print(":(")

Solution (Python):
a,b = map(int,input().split())
if a<=8 and b<=8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
A, B = map(int, input().split())

if A <= 8 and B <= 8:
	ans = "Yay!"
else:
	ans = ":("
    
print(ans)

Solution (Python):
a, b = map(int, input().split())
print('Yay!' if a <= 8 and b <= 8 else ':(')

Solution (Python):
a, b = map(int, input().split())

print('Yay!' if a <= 8 and b <= 8 else ':( ')

Solution (Python):
a,b=map(int,input().split())
print("Yay!" if a<=8 and b<=8 else ":(")

Solution (Python):
a,b = map(int,input().split())
if a<=8 and b<=8:
  print("Yay!")
else:
  print(":(")

Solution (Python):
def main():
    A, B = map(int, input().split())

    if A <= 8 and B <= 8:
        print('Yay!')
    else:
        print(':(')


main()

Solution (Python):
def test():
    a,b = map(int,input().split())
    if a < 9 and b < 9:
        print("Yay!")
    else:
        print(":(")


if __name__ == "__main__":
    test()

Solution (Python):
a, b = map(int, input().split())
print("Yay!" if a <= 8 and b <= 8 else ":(")

Solution (Python):
a, b = map(int, input().split())

if a <= 8 and b <= 8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
A,B = map(int,input().split())

print([':(','Yay!'][A<9 and B<9])

Solution (Python):
A,B=map(int,input().split())

if A<=8:
    if B<=8:
        print('Yay!')
    else :
        print(':(')
else :
    print(':(')

Solution (Python):
a,b=map(int,input().split())
print("Yay!" if a<=8 and b<=8 else ":(")

Solution (Python):
import math





inputa = input().split()







a = int(inputa[0])
b = int(inputa[1])





if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):

a, b = map(int, input().split())
if a >= 9 or b >= 9:
    print(':(')
else:
    print('Yay!')

Solution (Python):
a, b = map(int, input().split())
if a > 8 or b > 8:
  print(":(")
else:
  print("Yay!")

Solution (Python):
A, B = map(int, input().split())
print (":(" if A > 8 or B > 8  else "Yay!")

Solution (Python):
A,B = map(int,input().split())

if A >8 or B > 8:
  print(":(")
else:
  print("Yay!")

Solution (Python):
A,B = map(int,input().split())

ans = "Yay!"
if (A > 8 or B > 8):
  ans = ":("
print(ans)

Solution (Python):
A, B = map(int, input().split())

if A > 8 or B > 8:
    print(':(')
else:
    print('Yay!')

Solution (Python):
a,b=map(int,input().split())
if a <= 8 and b <=8:
  print('Yay!')
else:
  print(':(')

Solution (Python):
a,b=map(int,input().split())
print([':(','Yay!'][max(a,b) <= 8])

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

Solution (Python):
a, b = map(int, input().split(' '))
print('Yay!' if a <= 8 and b <= 8 else ':(')

Solution (Python):
a,b=map(int,input().split())
print((":(","Yay!")[max(a,b)<=8])

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

Solution (Python):
a,b = map(int, input().split())
 
if a + b <= 16:
  if a <= 8 and b <= 8:
    print('Yay!')
  else:
    print(':(')
else:
  print(':(')

Solution (Python):
a,b = map(int, input().split())
if a < 9 and b < 9:
    print('Yay!')
else:
    print(':(')

Solution (Python):
A, B = map(int, input().split())
if A > 8 or B > 8:
    print(":(")
else:
    print("Yay!")

Solution (Python):
A,B = map(int,input().split())

if A + B <= 16:
  if A <=8 and B <= 8:
    print("Yay!")
  else:
    print(":(")
  

else:
  print(":(")

Solution (Python):
a,b=map(int,input().split())
if a>8 or b>8:
    print(':(')
else:
    print('Yay!')

Solution (Python):
a, b = map(int, input().split())
if a <= 8 and b <= 8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
list = list( map(int, input().split() ) )

list.sort()

if list[1] <= 8 and list[0] <= 8:
  print('Yay!')
else:
  print(':( ')

Solution (Python):
a,b=map(int,input().split())
print('Yay!' if a<9 and b<9 else ':(')

Solution (Python):
A,B=map(int,input().split())
if A>=9 or B>=9:
  print(":(")
else:
  print("Yay!")

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

Solution (Python):

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

Solution (Python):


A, B = map(int, input().rstrip().split())
if A > 8 or B > 8:
    print(":(")
else:
    print("Yay!")

Solution (Python):

a,b = map(int,input().split())
if a <= 8 and b <= 8:
  print('Yay!')
else:
  print(':(')

Solution (Python):

def main():
    a,b = map(int, input().split())

    max_num = max(a,b)
    num_num = min(a,b)
    if max_num - num_num <= (16-a-b) :
        print('Yay!')
    else:
        print(':(')


if __name__ == '__main__' :
    main()

Solution (Python):
a, b = map(int, input().split())
print("Yay!" if a <= 8 and b <= 8 else ":(")

Solution (Python):
a, b = map(int, input().split())
if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
N = input().split()

A = int(N[0])
B = int(N[1])

if A > 8 or B > 8:
  print(':(')
else:
  print('Yay!')

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

Solution (Python):
a,b = map(int,input().split())
if a<9 and b<9:
    print("Yay!")
else:
    print(":(")

Solution (Python):
A, B = list(map(int,input().split()))
if A > 8 or B > 8:
  print(":(")
else:
  print("Yay!")

Solution (Python):
a,b=map(int,input().split())

if a>8 or b>8:
    print(':(')
else:
    print('Yay!')

Solution (Python):
a,b=map(int,input().split())
if a < 9 and b < 9:
    print("Yay!")
else:
    print(":(")

Solution (Python):
A, B = map(int, input().split())

if abs(B - A) <= 1:
    print('Yay!')
else:
    print(':(')

Solution (Python):
A, B = map(int, input().split())

if A > 8 or B > 8:
    print(':(')
else:
    print('Yay!')

Solution (Python):
a, b = map(int, input().split())

if a <= 8 and b <= 8:
  print('Yay!')
else:
  print(':(')

Solution (Python):
a,b=list(map(int, input().split()))
if a > 8 or b > 8:
    print(":(")
else:
    print("Yay!")

Solution (Python):
a,b=map(int,input().split())
if a<=8 and b<=8:
    print("Yay!")
else:
    print(":(")

Solution (Python):


b, c = map(int, input().split())
if b <= 8 and c <= 8:
  print('Yay!')
else:
  print(':(')

Solution (Python):
print(":Y(a y !"[eval(input().replace(" ","<9>"))::2])

Solution (Python):
a, b = map(int, input().split())
if max(a, b) >= 9:
  print(":(")
else:
  print("Yay!")

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

Solution (Python):
A, B = map(int, input().split())

if A <= 8 and B <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
l = [int(i) for i in input().split()]
if l[0]<=8 and l[1]<=8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
a, b = map(int, input().split())
if a <= 8 and b <= 8:
  print("Yay!")
else:
  print(":(")

Solution (Python):
x,y = map(int,input().split())
if x <= 8 and y<= 8:
  print('Yay!')
else:
  print(':(')

Solution (Python):
A,B = list(map(int,input().split(' ')))
ar = list(range(1,17))

if A <= 8 and B <= 8:
  print('Yay!')
else:
  print(':(')

Solution (Python):
a,b = map(int,input().split())
print('Yay!' if a<=8 and b<=8 else ':(')

Solution (Python):
a, b = map(int, input().split())

if a + b > 16:
    print(":(")
    exit()

if a > 8 or b > 8:
    print(":(")
else:
    print("Yay!")

Solution (Python):
a,b = map(int,input().split())
if max([a,b]) >= 9:
  print(':(')
else:
  print('Yay!')

Solution (Python):



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


print('Yay!' if A <= 8 and B <= 8 else ':(')

Solution (Python):

a,b=map(int,input().split())

print("Yay!" if a <= 8 and b <= 8 else ":(")

Solution (Python):
a,b = map(int, input().split())

if a >= 9 or b >= 9:
    print(":(")
else:
    print("Yay!")

Solution (Python):
A, B = [int(x) for x in input().split()]

if A <= 8 and B <= 8:
	print('Yay!')
else:
	print(':(')

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

Solution (Python):
A, B = map(int, input().split())

if A <= 8 and B <= 8:
  print("Yay!")
else:
  print(":(")

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

Solution (Python):
a, b = map(int, input().split())
if a == b:
  print("Yay!")
else:
  gap = abs(a - b)
  space = 16 - a - b
  if space >= gap * 2 - 1:
    print("Yay!")
  else:
    print(":(")

Solution (Python):
a,b=map(int,input().split())
if a <= 8 and b <= 8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
a,b=map(int,input().split())
if a<=8 and b<=8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
N, K = map(int, input().split())
if N <= 8 and K <= 8:
    print('Yay!')
else:
    print(':(')

Solution (Python):
if __name__ == '__main__':
    A, B = map(int, input().split())

    if A <= 8 and B <= 8:
        print('Yay!')
    else:
        print(':(')

Solution (Python):
a = list(map(int,input().split()))
print("Yay!") if a[0]<=8 and a[1]<=8 else print(":(")

Solution (Python):
A, B = map(int, input().split())

if A <= 8 and B <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
A,B = map(int,input().split())
if A > 8 or B > 8:
  print(':(')
else:
  print('Yay!')

Solution (Python):
a, b = map(int, input().split())
if a > 8 or b > 8:
  print(':(')
else:
  print('Yay!')

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


if __name__ == "__main__":
    main()

Solution (Python):
a, b = list(map(int, input().rstrip().split()))
if a<= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

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

Solution (Python):
a,b=map(int,input().split())
if a <= 8 and b <= 8:print("Yay!")
else:print(":(")

Solution (Python):
A, B = map(int, input().split())
if A > 8 or B > 8:
  print(':(')
else:
  print('Yay!')

Solution (Python):
a,b = map(int,input().split())
if a<= 8 and b<= 8 :
  print('Yay!')
else :
  print(':(')

Solution (Python):
A, B = map(int, input().split())

if A <= 8 and B <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):


a,b = map(int,input().split())

if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")

Solution (Python):
a,b = map(int,input().split())

if a <= 8 and b <= 8:
    print("Yay!")
else:
    print(":(")