import sys readline=sys.stdin.readline AB=list(map(int,readline().split())) if sum(AB[::2])%2: ans=":-(" else: ans=":-)" print(ans)