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