a = [int(i) for i in input().split( )] if (a[0] + a[1] + a[2]) % 2 == 0: print(':-)') else: print(':-(')