Task: Program Execution
Input (English): V, B, 9333, g, 6647, C, 5709
Output (English): 1, 2, 4, 6