Task: Program Execution
Input (English): V, L, 965, T, S, K, 179, 2957, 9615, 9355, 9511, k, 4153, P, 4109, 3755, 3195, E, 813, 1167
Output (English): 1, 2, 4, 5, 6, 12, 14, 18