Task: Program Execution
Input (English): 1, 5, ['a', 'R', '7881', 'G', '4861', '8139', '5109']
Output (English): 4861, G, 7881, R, a