Task: Program Execution
Input (English): 2, ['l', 'u', '1189', 'R']
Output (English): 1189, R