Task: Program Execution
Input (English): 1381 8049 a W 8269 D y I 9369 E n r j o 5227 E J 3437 P 941 1715 6295 7001 g s 7031 i d x k e d C N 1763 g m 5555 27 U
Output (English): 1, 2, 5, 9, 15, 18, 20, 21, 22, 23, 26, 35, 38, 39