#include <stdio.h>
int main() {
int st;
scanf("%d", &st);
for(int i = 1; i <= st * 2; i++) {
int cnt = 1;
for(int j = 1; j <= st; j++) {
if(i % 2)
printf("%c", cnt++ % 2 ? '*' : ' ');
else
printf("%c", cnt++ % 2 ? ' ' : '*');
}
printf("\n");
}
return 0;
}
백준 껌이노 ㅋㅋ
댓글 0