Task: Program Execution
Input (English): 2, 6, ['1735', '8517', '1591', '2339', 'G', '7121', '2195', '5891', 'q', 'Q', '5953']
Output (English): 7121G233915918517