Task: Program Execution
Input (English): S 9361 J 9243 I 4539 z u h 7221 3339 T 7863 Z u g h b X 2755 6871 M 1499 q L 5671 D X 3577 G 1195 S x d 9013
Output (English): 2, 4, 6, 10, 11, 13, 20, 21, 23, 26, 29, 31, 35