//@Author Damien Bell
#include <iostream>
#include <cmath>
using namespace std;
int main(){
    int choice=0, i, j;
    
    cout << "How many digits do you want to use: ";
    cin >> choice; 
    
    //One set of loops to count up to 5
    
    for(i=1; i<=choice; i++){//outer loop
        
        for(j=1; j<=i; j++){//inner loop
            
            cout << j; //Cout present counter for J
            
        }//end inner loop
        
        cout << endl; // Line break
        
    }//end outer loop

return 0;
}