S = input().strip().split(' ') s = sum([int(S[i*2]) % 2 for i in range(len(S) // 2)]) % 2 if s == 1: print(':-(') else: print(':-)')