Task: Program Execution
Input (English): 2839 7005 g E J Y f b 2937 1271 6951 3937 9989 1531 o 737 W 9247 1851 5711 5209 4835 8937 8459 1391 d O W 8263 9975 9707 I t b L y 4947 m
Output (English): 1, 2, 9, 10, 11, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 24, 25, 29, 30, 31, 37