import sys input=lambda: sys.stdin.readline().rstrip() A=[int(i)%2 for i in input().split()] if sum(A[::2])%2==0: print(":-)") else: print(":-(")