Task: Program Execution
Input (English): 2, 4, ['1243', '7907', 'J', 'q', 'U', 'C', '1707']
Output (English): qJ7097