Task: Program Execution
Input (English): f, 8839, a, H, V, 77
Output (English): 6, 8839, 1, 8, 22, 77