Task: Program Execution
Input (English): 7869 C o F 3699 R 1981 B X 5591 8149 j 3253 7367 4851 7211 6847 F 4041 7421 Q 8003 7651 249 121 P 7957
Output (English): 1, 5, 7, 10, 11, 13, 14, 15, 16, 17, 19, 20, 22, 23, 24, 25, 27