Task: Program Execution
Input (English): 2, ['1007', 'A', '3847', '6185']
Output (English): 1007, A