Task: Program Execution
Input (English): v, K, 373, k, 7167, Y, J, 9385, 9521, Y, Y, 2635, E, 5399, W, 7213, K
Output (English): 1, 2, 4, 6, 7, 10, 11, 13, 15, 17