// editor1
#include <stdio.h>
int main() {
    int n;
    scanf("%d", &n);
    if(n <=0 || n % 2 ==0)
    {
        printf("Invlid Input\n");
    }
    else
    {
        for(int i = n; i >= 1; i -=2)
        {
            int spaces = (n -i) / 2;
            for(int j = 0; j < spaces; j++)
        {
            printf(" ");
        }
        for(int j = 0; j < i; j++)
        {
            printf("*");
        }
        return 0;        
}