Task: Program Execution
Input (English): 5, ['R', 'N', 'I', 'R', 'y', 'r', 'f', '6641', 'Y', '5977', '9165', 'f']
Output (English): R, r, 9165