import sequtils, strutils let tmp: seq[int] = stdin.readline.split.map(parseInt) var a: array[3, int] = [tmp[0], tmp[2], tmp[4]] ans: string odd: seq[bool] = a.mapIt(it mod 2 == 1) if odd.count(true) mod 2 == 0: ans = ":-)" else: ans = ":-(" echo ans