#include using namespace std; int main() { int i; int j; for (i = 4; i >= 1; i--) { for (j = i; j >= 1; j--) cout << j << ' '; cout << i << endl; } }