p = float(input()) print(int(p//(1-p)))