Task: Program Execution
Input (English): 3, 8, ['I', 'g', '541', 'd', 'W', '2345', 'f', 'z', '5061', '4625', 'P', '4775', '3847', '5771', 'u', 'j', 'u', '2161', 'M', 'Z', 'm']
Output (English): 541, P, M