L = list(map(int, input().split())) m = 0 for i in range(len(L)): if i%2 == 0: m += L[i]%2 if m%2 == 0: print(':-)') else: print(':-(')