Task: Program Execution
Input (English): P, S, 1641, 5621, P, H, E, 5235, W
Output (English): 16, 19, 1641, 5621, 16, 8, 5, 5235, 23