Task: Program Execution
Input (English): k, n, f, I, 8171, 9863, v, X, F, P
Output (English): 11, 14, 6, 9, 8171, 9863, 22, 24, 6, 16