#include<iostream> using namespace std; int main() { int k; while (cin >> k) { for (int i = 0; i < k; i++) { cout << string(k - 1 - i, ' ') << "*" << endl; } } return 0; }