Task: Program Execution
Input (English): V, K, 9683, 2391, 1367
Output (English): 22, 11, 9683, 2391, 1367