Task: Program Execution
Input (English): z, 7907, 4045, 6047, 2977, 4355, V
Output (English): 2, 3, 4, 5, 6