Task: Program Execution
Input (English): 4, 6, ['R', 'w', '1545', 'h', '2851', 'x', 'k']
Output (English): h2851x