Task: Program Execution
Input (English): 3, 3, ['Z', '2405', 'i', '8511', '8923', '9437', 'g', '8021', '6335', 'b', '5821', 'g', '2555', '4681', '3317', '1375', '6361', '4425', '7031', 'b', 'L', '7669', 'h', 'B']
Output (English): i, 9437, 6335, g, 3317, 4425, L, B