Task: Program Execution
Input (English): 8547, 925, V, 1235, g, f, G, D
Output (English): 8547, 925, 22, 1235, 7, 6, 7, 4