Task: Program Execution
Input (English): 3, ['1313', '4207', 'O', 'h', 'B', 'J']
Output (English): 1313, 4207, O