Task: Program Execution
Input (English): 3, 4, ['5331', 'd', 'q', '8975']
Output (English): 8975q