Task: Program Execution
Input (English): 4, 4, ['P', '6115', 's', '7061']
Output (English): 7061