Task: Program Execution
Input (English): 5, 5, ['J', 't', 'p', 'Y', 's', 'M']
Output (English): s