#include <iostream>
using namespace std;

int main() {
	// your code goes here
	for (int j=0; j<5; j++) {
		for (int i=0; i<5; i++) {
			if (i>j) {
				cout << " ";
			} else {
				cout << "*";
			}
		}
		cout << endl;
	}
	return 0;
}