Task: Program Execution
Input (English): 2, 7, ['7641', 'N', '2689', '1085', 'k', 'n', 'Q']
Output (English): Qnk10852689N