Task: Program Execution
Input (English): s, p, P, s, 2649, K, 7977, B, B, s, 1207, F, 3009, 7365, W, 1705
Output (English): 19, 16, 16, 19, 2649, 11, 7977, 2, 2, 19, 1207, 6, 3009, 7365, 23, 1705