Task: Program Execution
Input (English): 2, 7, ['q', 'c', '3871', 'X', 't', '3109', '9939', 'd', 'b', '8925', 'B', '1057', '2243', 'B', 'W', 'E', 'o']
Output (English): 93999013tX1783c