Task: Program Execution
Input (English): 8267, 1901, P, 1237, D, 4827, w
Output (English): 4