Task: Program Execution
Input (English): B M 4741 1397 c 4161 4883 1103 V i P 347 1923 1971 5359 8471 t L 769 9177 8239 E 7385 o y 9989 533 7775 Q
Output (English): 1, 2, 5, 9, 10, 11, 17, 18, 22, 24, 25, 29