Task: Program Execution
Input (English): F 3627 B 4897 7965 4395 n 1245 S 2979 c I S 1501 J 2179 7379 s 9221 5973 8841 1519 L M X 2503 5887 d 9785 E 7967 o 6707 6189 A q Y
Output (English): 1, 3, 7, 9, 11, 12, 13, 15, 18, 23, 24, 25, 28, 30, 32, 35, 36, 37