Task: Program Execution
Input (English): 4, 4, ['P', '6771', 'y', '9271', 'v', '6761']
Output (English): 9271