Task: Program Execution
Input (English): 2, 3, ['4757', '4603', 'W', '2421', '8039', 'E', 'p', 'a', 'P', 'B']
Output (English): 4603