Task: Program Execution
Input (English): 3, 10, ['M', '8379', '4877', 'w', 'k', 't', '1591', '9251', 'k', 'L', 'E']
Output (English): Lk92511591tkw4877