Task: Program Execution
Input (English): 5, 5, ['l', 'r', '1099', 'z', '2417']
Output (English): 7142