Task: Program Execution
Input (English): k, 4561, C, J, v, i, Y
Output (English): 1, 3, 4, 5, 6, 7