Task: Program Execution
Input (English): 5491 2601 a x 2249 4419 8947 5435 6125 2725 M 259 3909 h D 2069 4531 I 367 h s B 3621 5863 6127 f 9255 7257 3639 p G
Output (English): 1, 2, 5, 6, 7, 8, 9, 10, 12, 13, 16, 17, 19, 23, 24, 25, 27, 28, 29