#include
#include
#include
#include
#include
void f(int broj, char c) {
if(broj == 0) {
return;
}
for(int i = 0; i < broj; i++) {
printf("%c ", c);
}
f(broj - 1, c - 1);
}
int main(int argc, char * argv[]) {
int broj;
char c;
scanf("%d", &broj);
scanf(" %c", &c);
printf("%d %c\n", broj, c);
f(broj, c);
return 0;
}