Task: Program Execution
Input (English): 9957, n, K, R, V, 9279, N, A, 3499
Output (English): 9957, 14, 11, 18, 22, 9279, 14, 1, 3499