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