import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.Scanner;
class Ideone
{
{
long n;
Scanner myObj
= new Scanner
(System.
in); n = myObj.nextLong();
for (int i = 0; i < n; i++){//заполняем строки
if (i % 2 == 0){
s1 += "*";
s2 += " ";
}
else {
s2 += "*";
s1 += " ";
}
}
for (int i = 0; i < n; i++){
if (i % 2 == 0){//выводим s1, если строка имеет четный номер
}
else System.
out.
println(s2
);//выводим s2, если строка имеет нечетный номер }
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnV0aWwuU2Nhbm5lcjsKY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCWxvbmcgbjsKICAgIAlTdHJpbmcgczEgPSAiIiwgczIgPSAiIjsKICAgIAlTY2FubmVyIG15T2JqID0gbmV3IFNjYW5uZXIoU3lzdGVtLmluKTsKICAgIAluID0gbXlPYmoubmV4dExvbmcoKTsKCiAgICAJZm9yIChpbnQgaSA9IDA7IGkgPCBuOyBpKyspey8v0LfQsNC/0L7Qu9C90Y/QtdC8INGB0YLRgNC+0LrQuCAKCSAgICAgICAgaWYgKGkgJSAyID09IDApewoJICAgICAgICAgICAgczEgKz0gIioiOwoJICAgICAgICAgICAgczIgKz0gIiAiOwoJICAgICAgICB9CgkgICAgICAgIGVsc2UgewoJICAgICAgICAgICAgczIgKz0gIioiOwoJICAgICAgICAgICAgczEgKz0gIiAiOwoJICAgICAgICB9CgkgICAgfQoJICAgIGZvciAoaW50IGkgPSAwOyBpIDwgbjsgaSsrKXsKCSAgICAgICAgaWYgKGkgJSAyID09IDApey8v0LLRi9Cy0L7QtNC40LwgczEsINC10YHQu9C4INGB0YLRgNC+0LrQsCDQuNC80LXQtdGCINGH0LXRgtC90YvQuSDQvdC+0LzQtdGACgkgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihzMSk7CgkgICAgICAgIH0KCSAgICAgICAgZWxzZSBTeXN0ZW0ub3V0LnByaW50bG4oczIpOy8v0LLRi9Cy0L7QtNC40LwgczIsINC10YHQu9C4INGB0YLRgNC+0LrQsCDQuNC80LXQtdGCINC90LXRh9C10YLQvdGL0Lkg0L3QvtC80LXRgAoJICAgIH0KCX0KfQ==