#include<stdio.h>
int main()
{int a[11]={1,2,3,5,6,7,8,9,10,11};
int *p=a;
int n;
scanf("%d",&n);
while(*p>n||*(p+1)<=n)
p++;
int *q=a+9;
for(;q>p;q--)
*(q+1)=*(q);
*(p+1)=n;
int j;
p=a;
for(j=0;j<=10;j++)
printf("%d ",*(p+j));
return 0;
}
05-31
411