Task: Program Execution
Input (English): 3, ['9831', 'v', '783', '2307', 'p', 'p', 'J']
Output (English): 2307, p, p, J