Task: Program Execution
Input (English): 5, 7, ['3221', 'N', 'I', '1847', 'd', 'O', 'C', 'Z', '7873', '9221', 'o']
Output (English): C, O, d