Task: Program Execution
Input (English): 3, 4, ['2573', '315', 'W', 'N', 'f', 'k']
Output (English): NW