Task: Program Execution
Input (English): 9577 7095 9577 S Q 7813 793 1611 W 6803 7951 v 3667 D 1155 J 2273 m J 7967 7357 2351 R B 1961 2547 2529 9893 5321 6329 7815 G E 7429 6029 O I 1669
Output (English): 1, 2, 3, 6, 7, 8, 10, 11, 13, 15, 17, 20, 21, 22, 25, 26, 27, 28, 29, 30, 31, 34, 35, 38