S = sum(map(int, input().split()[::2])) print(':-)' if S%2 == 0 else ':-(')