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