from decimal import * getcontext().prec=200 print(Decimal("0.".join(i for i in range(1, 101)))*int(input()))