#include <stdio.h>

int main(void) {
int a=0,b;

 scanf("%d",&b);
 while( a<= b )
{
 printf("%d",a);
 a=a+1;
}
	return 0;
}