Task: Program Execution
Input (English): 2, 3, ['W', '1063', '4539', 'W', 'W']
Output (English): 4539, 1063