Task: Program Execution
Input (English): P, N, 9219, 2801, 4733, X, 8465, b, 6235, h, L
Output (English): 5