Task: Program Execution
Input (English): 3, 10, ['159', '9257', 'q', 'a', 'R', 't', 'L', '177', 'v', '9093', 'Z']
Output (English): 9270