import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines data = list(map(int,read().split())) x = sum(data[::2]) answer = ':-)' if x % 2 == 0 else ':-(' print(answer)