input_params = list(map(int,input().split())) alist = [] for i in range(len(input_params)): if i % 2 == 0: alist.append(input_params[i]) alist_even = [a for a in alist if a % 2 == 0] if len(alist_even) == 1 or len(alist_even) == 3: print(':-)') else: print(':-(')