#include <bits/stdc++.h>
using namespace std;
void printbai(int n)
{
while (n--)
cout << "o";
}
void printhei(int n)
{
while (n--)
cout << "*";
}
void printbh(int n)
{
while (n--)
cout << "o*";
}
void printjian()
{
cout << "--";
}
int main()
{
int n;
cin >> n;
int ox = 0;
int i = 0;
for (; n > 3; i++)
{
printf("step%2d:", i);
if (i % 2 == 0)
{
printbai(n);
printhei(n);
printjian();
printbh(ox);
ox++;
n--;
}
else
{
printbai(n);
printjian();
printhei(n);
printbh(ox);
}
printf("\n");
}
string s[5] = {
"ooo--***o*",
"ooo*o**--*",
"o--*o**oo*",
"o*o*o*--o*",
"--o*o*o*o*"};
for (int j = 0; j < 5; j++)
{
printf("step%2d:", i++);
printf(s[j].c_str());
printbh(ox - 1);
printf("\n");
}
return 0;
}