Task: Program Execution
Input (English): 8777 H i 3435 m 1715 4013 3895 7843 1577 K V 5909 1713 3643 q i S 1969 8747 4015 4481 2205 737 h y 4533 A c 7521 7867 d w h 1127 1535 D
Output (English): 1, 4, 6, 7, 8, 9, 10, 13, 14, 15, 19, 20, 21, 22, 23, 24, 27, 30, 31, 35, 36