t = float(input()) if (t > 0): print(1) elif (t == 0): print(1/2) else: print(0)