Task: Program Execution
Input (English): 2153 975 S X F m 8289 8215 2947 t X T 5453 E 7493 745 E 9861 P b 9925 i 537 21 9241 m 4181 7427 5139 2709 1843 1751 J 19 8039 U 7915 z 57 j
Output (English): 3, 4, 5, 6, 10, 11, 12, 14, 17, 19, 20, 22, 26, 33, 36, 38, 40