Task: Program Execution
Input (English): 3, 7, ['J', 'W', '8203', 'p', 'G', 'P', 'Q']
Output (English): 8203, p, G, P, Q