Task: Program Execution
Input (English): 7, ['3133', 'S', '307', '8857', 'U', '6059', 'x', 'E', 'a', 'V', '351', '1765', '3869', '3031', '7487']
Output (English): 3133, E, 7487