Task: Program Execution
Input (English): 2, 3, ['R', 'T', 'j']
Output (English): j, T