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