n=int(input()) #count number cn=0 for i in range(n): if n<=4: for j in range(i+1): print(cn,end="") cn+=1 else: