# user=int(input("input do"))
# def prime(user):
# 	for i in range (2,user):
# 		if user%i==0:
# 			return False
# 			break
# 	else:
# 		return True
# z=0
# a=2
# while a>0:
# 	if prime(a):
# 		z+=1
# 	if z==user:
# 		print(a,z)
# 		break
# 	a+=1


# sum1=0
# for i in range(2,100):
# 	if i%3 or i%5==0:
# 		sum1+=i
# print (sum1)

# user=int(input("apna input do"))
# a=1
# while a<user:
# 	if user%a==0:
# 		b=a
# 	a+=1
# else:
# 	print (b)

# a=1
# while True:
# 	for i in range (1,11):
# 		if a%i!=0:
# 			break
# 	else:
# 		print (a)
# 		break
# 	a+=1

# s_sum=0
# total=0
# user=int(input("input"))
# for i in range(1,user):
# 	s_sum+=i**2
# 	total+=i
# print (total**2-s_sum) 

# user1=int(input("input do"))
# z=2
# while z<=user1:
# 	a=[]
# 	user=z
# 	for i in range (1,user+1):
# 		a.append(str(i))
# 		if i==user:
# 			for j in range (user-1,0,-1):
# 				a.append(str(j))
# 	a=("".join(a))
# 	print (a)  
# 	z+=1

a=int(input('ss'))
b=[]
for i in range (1,a+1)
:
	b.append(i)
	b=("".join(a))
print (b)