Task: Program Execution
Input (English): 3, 8, ['6785', 'i', 'J', 'r', '2943', '9717', '9689', '185']
Output (English): 581986971793492rJ