Task: Program Execution
Input (English): B, 803, 5731, 6621, x, r, n, e, K, 7551
Output (English): 2, 3, 4, 10