Task: Program Execution
Input (English): 6863, 9795, 27, r, B, i, 999, K, b
Output (English): 4, 5, 6, 8, 9