Task: Program Execution
Input (English): 4, 6, ['5957', '9131', 'G', 'n', 'w', '5635', 'O', '5743', 'S']
Output (English): 5365wn