print(1/float(input())-1)