Task: Program Execution
Input (English): c, 9541, 7761, H, 4581, C, 3417, 4535
Output (English): 2, 3, 5, 7, 8