ln = input().split() it = iter(ln) s = 0 for a in it: a = int(a) b = int(next(it)) if a % 2 == 1: s += 1 if s % 2 == 0: print(":-)") else: print(":-(")