Task: Program Execution
Input (English): P, 9109, I, 7875, 9729, 5351, 4431, W, 7025, R, F, O, 2849, g, P, 1359, 9645, K, 1027, 1789, t, W, 7339
Output (English): 12