Task: Program Execution
Input (English): 5, 10, ['1539', '7683', 'R', '3771', 'e', 'q', 'E', 'w', 'X', '415', 't', '2091', 'p', 'w']
Output (English): 514XwEqe