#include int main(void){ int N; std::cin >> N; for (int i = 0; i < N; i++, std::cout << std::endl){ for (int j = N-i; j > 0; j--){ std::cout << N; } } return 0; }