Task: Program Execution
Input (English): 2, 4, ['R', 'Q', '459', '1833']
Output (English): Q, 459, 1833