Task: Program Execution
Input (English): 3, 8, ['o', 'l', '2131', '7673', 'U', '8901', '7835', 'q', '8825']
Output (English): q78358901U76732131