Task: Program Execution
Input (English): 4, ['a', 'R', '6845', '2615', '6791', 'R', 'e', 'q', 'd']
Output (English): a, R, 6845, 2615