Task: Program Execution
Input (English): 4, ['5795', 'B', 'J', '1109', '535', '3883', '2005', '7223', 'K', '9165', '4167', '7885', 't']
Output (English): 5795, B, J, 1109