Task: Program Execution
Input (English): b N 4165 5215 977 I 2941 6089 q 143 773 4465 k 9241 779 V 4415 k 7293 5117 J 2411 1227 H 7423 S 7379 r H o 1545 341 P 5061 7679 b 5787 U Z D
Output (English): 1, 2, 6, 9, 13, 16, 18, 21, 24, 26, 28, 29, 30, 33, 36, 38, 39, 40