Task: Program Execution
Input (English): 5827 P 6865 4463 9625 5447 2453 t c T 1371 6725 6479 3937 c q 411 B D 2489 c 2659 9045 9143 M A 5023 6109 5975 163 P 4099 9449 D 2597 2297 7927
Output (English): 2, 8, 9, 10, 15, 16, 18, 19, 21, 25, 26, 31, 34