Task: Program Execution
Input (English): 2, 2, ['39', 'W']
Output (English): W