Task: Program Execution
Input (English): g, b, w, T, E, V, 6035, B, 4759, z, 5371
Output (English): 1, 2, 3, 4, 5, 6, 8, 10