Task: Program Execution
Input (English): V, 2025, 5923, j, q, G, m
Output (English): 22, 2025, 5923, 10, 17, 7, 13