Task: Program Execution
Input (English): f, C, 6901, 7757, 9431, 2645, V
Output (English): 3, 4, 5, 6