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 = 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 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 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())
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(':Y(a y !'[(A<=8)*(B<=8)::2])

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 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 solve():
    A, B = map(int, input().split())
    if A > 8 or B > 8:
        print(":(")
    else:
        print("Yay!")


    
if __name__ == "__main__":
    solve()

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())

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 and 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 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):
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 a >= 9 or b >= 9:
  print(":(")
else:
  print("Yay!")

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

Solution (Python):
a,b = map(int,input().split())
if min(a,b)*2+(max(a,b)-min(a,b))*2<=16:
    print('Yay!')
else:
    print(':(')

Solution (Python):



import sys

def main():
    input = sys.stdin.readline
    a,b = map(int, input().split())
    if a <= 8 and b <= 8:
        print("Yay!")
    else:
        print(":(")




if __name__=="__main__":
    main()

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


if __name__ == "__main__":
    main()

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):
def LI():
	return [ int(s) for s in input().split() ]
  
a,b = LI()
 
print('Yay!') if a <= 8 and b <= 8 else print(':(')

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

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

Solution (Python):

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

Solution (Python):
import sys
import os

OK = 'APPROVED'
NG = 'DENIED'


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    A, B = list(map(int, sys.stdin.buffer.readline().split()))

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


if __name__ == '__main__':
    main()

Solution (Python):
a,b = map(int,input().split())
print("Yay!") if a<9 and b<9 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 and 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 16/a >=2 and 16/b >=2 else ":(")

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 or b>8:
  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 abs(a-b) <= 1:
    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 = [int(i) for i in input().split()]

ans = "Yay!"
if a > 8 or b > 8:
    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())
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 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 max(a,b)*2<=16:
    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 = input().split()

A = int(A)
B = int(B)

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

Solution (Python):
S = input().split(' ')
A, B = map(int, S)
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 a <= 8 and b <= 8 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 0<= a <= 8 and 0<= 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())
c = abs(a-b)
d = 16 - a - b

if c * 2 > d:
  print(":(")
  
else:
  print("Yay!")

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 = 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>=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().split())

if a>8 or b>8:
    print(':(')

else:
    print('Yay!')

Solution (Python):
import sys
def input(): return sys.stdin.readline().rstrip()
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+b<=16 and a<=8 and b<=8) else ":(")

Solution (Python):
A,B = [int(s) for s 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 = [int(v) for v in input().strip().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=tuple(map(int,input().split()))
if A<=8 and B<=8:
    ans="Yay!"
else:
    ans=":("
print(ans)

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

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

Solution (Python):

import sys


def solve(A: int, B: int):
    if A <= 8 and B <= 8:
        print("Yay!")
    else:
        print(":(")
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  
    B = int(next(tokens))  
    solve(A, B)


if __name__ == '__main__':
    main()

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()]

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 or b>8) and abs(a-b)>1:
    print(":(")
else:
    print("Yay!")

Solution (Python):


import sys
input = sys.stdin.readline().rstrip

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

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

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

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

Solution (Python):
ab = [int(i) for i in input().split()]

if all(i <= 8 for i in ab):
	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 = list(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 or B > 8 or A+B > 16:
  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:
    if b <= 8:
        print("Yay!")
    else:
        print(":(")
elif b <= 8:
    if a <= 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 = [int(i) for i in input().rstrip().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):
x,y=map(int,input().split())
if x<9 and y<9:
  print("Yay!")
else:
  print(":(")

Solution (Python):
A, B = [int(_) for _ in 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 or b > 8:
  print(":(")
else:
  print("Yay!")

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

A = int(A)
B = int(B)

if A<=8 and B <=8:
    print("Yay!")
elif A>8 or B>8:
    print(":(")

Solution (Python):


import math
from collections import defaultdict

(a, b) = [int(s) for s in input().split()]

ans = 'Yay!'

if a > 8 or b > 8:
    ans = ':('

print(ans)

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

res_c = 16 - min(a, b)*2
res_ab = max(a, b) - min(a, b)
if 2*res_ab > res_c:
    print(':(')
elif 2*res_ab <= res_c:
    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 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())
print("Yay!" if a<9 and b<9 else ":(")

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


if __name__ =='__main__':
    main()

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

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):
if max(map(int,input().split()))<=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):
class Solution:
    def solve(self, A: int, B: int) -> str:

        if max(A, B) <= 8:
            return "Yay!"
        else:
            return ":("


if __name__ == '__main__':

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

    
    solution = Solution()
    print(solution.solve(A, B))

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 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):
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())
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 = list(map(int,input().split()))
if a<=8 and b<=8:
    print("Yay!")
else:
    print(":(")

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

e = 0
squ = 0
for i in range(0, 16, 2):
    
    
    
    e += 1
    squ += 1

if e>=a and squ>=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 = list(map(int, input().split()))
print('Yay!') if a<=8 and b<=8 else print(':(')

Solution (Python):
print([":(","Yay!"][max(map(int,input().split()))<9])

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())
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 <= 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 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):
x,y=input().split()

if int(x)<=8 and int(y)<=8:
  print('Yay!')
else:
  print(':(')

Solution (Python):
A,B=map(int,input().split())
M=max(A,B)
if M>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 >= 0 and a <= 8 and b >= 0 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):
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 = 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())
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())

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 = [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<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())

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

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

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())
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())
ans=':('
if a<=8 and b<=8:
  ans = 'Yay!'
print(ans)

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

Solution (Python):




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


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<9 and b<9:
    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())

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 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())

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(":(")
    exit()

print("Yay!")

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

if arr[0] <= 8 and arr[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):
a,b=map(int,input().split())
print([':(','Yay!'][(a<9)*(b<9)])

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())
if max(a,b)*2<=16 :
    print("Yay!")
else:
    print(":(")

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

Solution (Python):
import sys
 
stdin = sys.stdin

mod = 1000000007
inf = 1 << 60
 
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()
nas = lambda: stdin.readline().split()

a, b = na()

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

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

if a > 16/2 or b > 16/2:
  print(":(")
else:
  print("Yay!")

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

Solution (Python):

import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
a,b = map(int,input().split())
print("Yay!" if a <= 8 and b <= 8 else ":(")

Solution (Python):
import os
import sys

if os.getenv("LOCAL"):
    sys.stdin = open("_in.txt", "r")

sys.setrecursionlimit(10 ** 9)
INF = float("inf")
IINF = 10 ** 18
MOD = 10 ** 9 + 7



A, B = list(map(int, sys.stdin.buffer.readline().split()))

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

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

Solution (Python):
"""
author : halo2halo
date : 24, Jan, 2020
"""

import sys



read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

a, b = map(int, readline().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())
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 9 <= a or 9 <= b:
    print(":(")
else:
    print("Yay!")

Solution (Python):












a = max(map(int, input().split()))
if a <= 8:
    ans = 'Yay!'
else:
    ans = ':('

print(ans)

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

if (a <= 8) & (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 max(a,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())
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())
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())
a = max(A, B)

if a >= 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):
def main():
    from sys import stdin, setrecursionlimit
    setrecursionlimit(10**6)
    r = stdin.readline()[:-1]
    
    
    

    res = 0
    a, b = map(int, r.split())
    if max(a,b) > 8:
        print(':(')
    else:
        print('Yay!')

if __name__ == '__main__':
    main()

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

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

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 = list(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())
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 or b > 8:
  print(':(')
elif a <= 8 and b <= 8:
  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 or b>8:
    print(':(')
else:
    print('Yay!')

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

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

print(r)

Solution (Python):
num = input().split()
num_i = [int(s) for s in num]

if(num_i[0] > 8 or num_i[1] > 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 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=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())
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 max(a,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(" "))

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

else:
    print(":(")

Solution (Python):
import sys
input = sys.stdin.readline
A,B = [int(i) for i in input().split()]
ans = "Yay!"
if A > 8 or B > 8 :
    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())  

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(":(")
  exit()
else:
  print("Yay!")
  exit()

Solution (Python):
a,b=map(int,input().split())
if abs(a-b) > 1:
  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):
a, b = map(lambda x: int(x), input().split())

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