#include <iostream>
using namespace std;
int main()
{
int numberOfCarac = 5;
int i, h;
for(i = 0; i < numberOfCarac; i++)
{
for (h = 0; h < i; h++)
{
cout << "*";
}
cout << endl;
}
for(i = numberOfCarac; i > 0; i--)
{
for (h = i; h > 0; h--)
{
cout << "*";
}
cout << endl;
}
return 0;
}