Task: Program Execution
Input (English): k, V, 4781, 571, 5993, 8029, 2783, J, B
Output (English): 3, 4, 5, 6, 7