Task: Program Execution
Input (English): 2467 387 c f B 2373 7585 3557 n O 4371 8247 1333 1963 9641 557 5857 2787 a I 8175 r 3785 K M 663 2769 6951 8023 G 4285 9001 R Q o j O 2085
Output (English): 1, 2, 6, 7, 8, 11, 12, 13, 14, 15, 16, 17, 18, 21, 23, 26, 27, 28, 29, 31, 32, 38