Task: Program Execution
Input (English): 2, ['3119', '3387', '6803', 'a', 'Q', '5797', 'S', 'o']
Output (English): 3119, 3387