import functools



import os



INF = float('inf')





def inp():

    return int(input())





def inpf():

    return float(input())





def inps():

    return input()





def inl():

    return list(map(int, input().split()))





def inlf():

    return list(map(float, input().split()))





def inls():

    return input().split()





def debug(fn):

    if not os.getenv('LOCAL'):

        return fn



    @functools.wraps(fn)

    def wrapper(*args, **kwargs):

        print('DEBUG: {}({}) -> '.format(

            fn.__name__,

            ', '.join(

                list(map(str, args)) +

                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]

            )

        ), end='')

        ret = fn(*args, **kwargs)

        print(ret)

        return ret



    return wrapper





a, b = inl()

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

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

# MOD = 998244353





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



ok = A <= 8 and B <= 8

if ok:

    print('Yay!')

else:

    print(':(')

import functools
import os

INF = float("inf")


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


def inpf():
    return float(input())


def inps():
    return input()


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


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def debug(fn):
    if not os.getenv("LOCAL"):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print(
            "DEBUG: {}({}) -> ".format(
                fn.__name__,
                ", ".join(
                    list(map(str, args))
                    + ["{}={}".format(k, str(v)) for k, v in kwargs.items()]
                ),
            ),
            end="",
        )
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper


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

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
# MOD = 998244353
A, B = list(map(int, sys.stdin.buffer.readline().split()))
ok = A <= 8 and B <= 8
if ok:
    print("Yay!")
else:
    print(":(")

-import functools +import sys +if os.getenv("LOCAL"): +    sys.stdin = open("_in.txt", "r") +sys.setrecursionlimit(10**9) - - -def inp(): -    return int(input()) - - -def inpf(): -    return float(input()) - - -def inps(): -    return input() - - -def inl(): -    return list(map(int, input().split())) - - -def inlf(): -    return list(map(float, input().split())) - - -def inls(): -    return input().split() - - -def debug(fn): -    if not os.getenv("LOCAL"): -        return fn - -    @functools.wraps(fn) -    def wrapper(*args, **kwargs): -        print( -            "DEBUG: {}({}) -> ".format( -                fn.__name__, -                ", ".join( -                    list(map(str, args)) -                    + ["{}={}".format(k, str(v)) for k, v in kwargs.items()] -                ), -            ), -            end="", -        ) -        ret = fn(*args, **kwargs) -        print(ret) -        return ret - -    return wrapper - - -a, b = inl() -print("Yay!" if a * 2 <= 16 and b * 2 <= 16 else ":(") +IINF = 10**18 +MOD = 10**9 + 7 +# MOD = 998244353 +A, B = list(map(int, sys.stdin.buffer.readline().split())) +ok = A <= 8 and B <= 8 +if ok: +    print("Yay!") +else: +    print(":(")