import sequtils,strutils var A = stdin.readline.split.map(parseInt) if (A[0] mod 2 + A[2] mod 2 + A[4] mod 2) mod 2 == 0: echo ":-)" else: echo ":-("