#!/usr/bin/env python3

import numpy as np

import math

import re

import functools



n = eval(input())

n = re.split(" ",n)



a = int(n[0])

b = int(n[1])



if(a > 8 or b > 8):

    print(":(")

else:

    print("Yay!")
#!/usr/bin/env python3

#ABC100 A



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



f = 1

if A > 8:

    f = 0

if B > 8:

    f = 0

if f:

    print('Yay!')

else:

    print(':(')

#!/usr/bin/env python3
import numpy as np
import math
import re
import functools

n = eval(input())
n = re.split(" ", n)
a = int(n[0])
b = int(n[1])
if a > 8 or b > 8:
    print(":(")
else:
    print("Yay!")

#!/usr/bin/env python3
# ABC100 A
A, B = list(map(int, input().split()))
f = 1
if A > 8:
    f = 0
if B > 8:
    f = 0
if f:
    print("Yay!")
else:
    print(":(")

-import numpy as np -import math -import re -import functools - -n = eval(input()) -n = re.split(" ", n) -a = int(n[0]) -b = int(n[1]) -if a > 8 or b > 8: +# ABC100 A +A, B = list(map(int, input().split())) +f = 1 +if A > 8: +    f = 0 +if B > 8: +    f = 0 +if f: +    print("Yay!") +else: -else: -    print("Yay!")