Task: Program Execution
Input (English): 5, 8, ['3743', '6017', '7291', '7953', 'n', '341', 'l', 'r', 't', 'j', 'J', 'o', 'p', '7895']
Output (English): n341lr