inputer = float(input()) result = 0 if inputer >=0.0: bunbo = 1-inputer result=round(inputer/bunbo,5) result_f = str(result) result_l =result_f.split(".") if result_l[1]=="0": result = int(result) print(result)