text: #include <iostream>
  
  using namespace std;
  
  int main(void)
  {
    int N;
    cin >> N;
    for (int i = 0; i < N; ++i)
    {
      for (int j = 0; j < N; ++j)
      {
        cout << (j < N - 1 - i ? ' ' : '*');
      }
      cout << '\n';
    }
  }