Task: Program Execution
Input (English): B, g, w, P, c, C, 755, 4967, D, S
Output (English): 1, 2, 3, 4, 5, 6, 9, 10