Task: Program Execution
Input (English): 2, ['3095', '5107', 'A', 'S', '1465']
Output (English): 3095, 5107