Task: Program Execution
Input (English): 3, ['v', '5523', 'R', 'L', 'S', '4127', 'J', '617', '3013', '2105']
Output (English): v, L, J, 2105