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