Task: Program Execution
Input (English): 3, ['3747', 'Q', '743', '6105', 'j', '6961', 'C', 'D', 'F', 'G', '3611', 'E', '4491', 'j', 'B', '5163', 'k', '2549']
Output (English): 3747, Q, 743