#include <iostream> using namespace std; int main( void ) { unsigned n; cin >> n; for( unsigned r=0; r!=n; ++r ) for( unsigned c=0; c!=n-r; ++c ) cout << (r+1)*(c+1) << " \n"[c+1==n-r]; }