#include int main() { int n, i; scanf("%d", &n); while(n > 0) { for (i = n; i > 0; i--) { printf("%d", n); } n--; printf("\n"); } return 0; }