Task: Program Execution
Input (English): 1119, 6999, S, 9207, 9245, N, D, m, S, 6141, e, 8871, K, 2815
Output (English): 1, 2, 4, 5, 10, 12, 14