Task: Program Execution
Input (English): 3, 10, ['1957', '899', 'a', 't', 'w', '7985', 'N', 'e', '3245', 'n', '6867', '1621', 'w', 'P', '9519', '1285', 'P']
Output (English): atw7985Ne3245n