Task: Program Execution
Input (English): K 1557 2411 n w 7587 7193 5459 y 6813 J 3781 u g 9021 c q 9773 9851 K 3177 5039 C T G u q 599 s r 2839
Output (English): 2, 3, 6, 7, 8, 10, 12, 15, 18, 19, 21, 22, 28, 31