#include<stdio.h>
int main()
{
    int n;
    scanf("%d",&n);
    if(n<0)
    {
        printf("Invalid Input");
        return 0;
    }
    int sixe =2*n-1;
    for(int i=0;i<size;i++)
    {
        int top=i;
        int left=j;
        int right =size -1 -j;
        int bottom = size -1 -i;
        
        int min = top;
        if(left<min)min =left;
        if(right<min)min =right;
        if(bottom<min)min=bottom;
        printf("%d",n-min);
    }
    printf("\n");
}

}