lst=list(map(int,input().split()))[::2] count_num=0 for i in lst: if i %2==1: count_num +=1 print([":-)",":-("][count_num%2])