Task: Program Execution
Input (English): 3213, K, 797, K, 4397, 5687, 8241, 5957, I, I, 4959, T, 557
Output (English): 1, 3, 5, 6, 7, 8, 11, 13