Task: Program Execution
Input (English): 4, 7, ['W', '5657', 'x', '8289', 'S', '5', '7299', '3575', '979', '3637', 'N']
Output (English): 99275S9828