from decimal import * getcontext().prec = 300 d = "".join(map(str,range(1,100)))+"1" x = Decimal(d)*int(input())/Decimal(10**len(d)) print(x)