Task: Program Execution
Input (English): 3, 7, ['3029', '2205', '8191', 'W', 'Z', '9251', 'Q']
Output (English): 8191WZ9251Q