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