Task: Program Execution
Input (English): 3, ['2769', 'X', 'i', '8499', 'V', 'S']
Output (English): 2769, 8499