Task: Program Execution
Input (English): 2541, P, L, 2705, 8301, H, 4003, 3207, L, 85
Output (English): 2, 3, 6, 9