Task: Program Execution
Input (English): 6, 6, ['7587', 'M', 'g', 'Y', 'v', 'P', 'o']
Output (English): P