# https://www.hackerrank.com/challenges/python-print/problem

if __name__ == '__main__':
    ans=""
    for i in range(1,int(input())+1):
        ans=ans+str(i)
    print(ans)
# https://www.hackerrank.com/challenges/python-print/problem

if __name__ == '__main__':
    ans=""
    for i in range(1,int(input())+1):
        ans=ans+str(i)
    print(ans)
# https://www.hackerrank.com/challenges/python-print/problem