Task: Program Execution
Input (English): h 5271 2621 V 9891 3713 A p 1103 1189 4373 F X W 2031 k 9653 x 4877 N 8191 27 t S 7365 t G 7459 1589 P V 7187 9183 D
Output (English): 8, 5271, 2621, 22, 9891, 3713, 1, 16, 1103, 1189, 4373, 6, 24, 23, 2031, 11, 9653, 24, 4877, 14, 8191, 27, 20, 19, 7365, 20, 7, 7459, 1589, 16, 22, 7187, 9183, 4