a=[*map(int,input().split())] a=a[::2] cnt=[] for i in a: cnt.append(i%2) if sum(cnt)%2==0: print(':-)') else: print(':-(')