Task: Program Execution
Input (English): 6, 15, ['4981', 'n', '5157', '5849', 'Q', '2205', '3765', '6995', '8635', '2765', '1465', 'M', 'W', 'a', '1507']
Output (English): 220537656995863527651465MWa1507