Task: Program Execution
Input (English): 2, 9, ['4417', '2329', 'R', 'A', 'M', '7003', 'Q', 'U', 'm']
Output (English): m, U, Q, 7003, M, A, R, 2329