
#a=int(input("enter a number"))
#for i in range(a,0,):
#	print(str(i)*i)
"""
for i in range(1,a):
	print("*",end="")
print()
"""	
# num = 3
# print(pow(num,2))
"""
a=input("enter a number")
if a.isdigit():
	a=int(a)
	for i in range(1,11):
		print(a,"*",i,"=",(a*i))
else:
	print("enter a number")
	"""
	"""


val = 65
for i in range(0, 5):
    for j in range(0, i+1):
        ch = chr(val)
        print(ch, end=" ")
        val = val + 1
    print()
"""

"""
n=int(input("enter a number"))
int fib(int n){
if(n>3){return(fib(n-1)+fib(n-2))};
}
"""
""" 
input = input('Write Text: ')
input = input.lower()
a = []
for character in input:
    number = ord(character) - 96
    a.append(number)
print (a)
#a=int(input("enter a number"))
#a[0].str()
for i in range(1,a[0]+1):
	print(str(i)*i)
"""
"""
"a=int(input("enter a number"))" 
b=int(input("enter a number"))  
for i in range(a,b+1):
    if(i % 2==0):
        print("The number ",i" is odd")
    else:
        print("The number ",i," is even")

"""
a=int(input("enter a number"))
for j in range (1,a):
	for i in range (1,j):
		print(i,end"")


