Task: Program Execution
Input (English): S 9571 J 1419 z 2915 H z O 7605 2809 9705 8051 9259 3553 141 2457 c N w C W D L 9533 S 6179 M 3119 9957
Output (English): 2, 4, 6, 10, 11, 12, 13, 14, 15, 16, 17, 25, 27, 29, 30