Task: Program Execution
Input (English): u N 5369 S 2989 661 4615 C 9015 R v Q 7971 t 5431 2641 n q 6559 j X O 6599 4823 2545 2335 C
Output (English): 1, 2, 4, 8, 10, 11, 12, 14, 17, 18, 20, 21, 22, 27