Task: Program Execution
Input (English): 6005, 9783, B, R, 6417, C, 5021, u
Output (English): 3, 4, 6, 8