A = list(map(int, input().split())) ki = 0 for i in range(0, len(A), 2): if A[i]%2!=0: ki+=1 if ki%2==0: print(":-)") else: print(":-(")