Task: Program Execution
Input (English): B, 8219, 2113, S, z, 5921, V, 7691, 643, 3133, R, b, 2067, 3731, 6331, 4259, S, 7757, 1745, 9973, 6597, 1713, V, 7221
Output (English): 2, 3, 6, 8, 9, 10, 13, 14, 15, 16, 18, 19, 20, 21, 22, 24