Task: Program Execution
Input (English): 6905 9677 295 p J 1363 s K 937 b z c 4259 4505 P P 5575 4689 2731 9457 d j X O 139 o 1847 4567 9495 i 7321 5985 K 8481 X 8177 u P T D
Output (English): 1, 2, 3, 6, 9, 13, 14, 17, 18, 19, 20, 25, 27, 28, 29, 31, 32, 34, 36