Task: Program Execution
Input (English): 6055 N b 2387 a 397 4971 m 149 8753 711 2625 V 5727 6353 m 2137 7053 g 7177 8329 7505 1891 X 4019 7525 7065 D 5213 G A 2603 t e 207 6371 9317 6545 1371
Output (English): 6055, 14, 2, 2387, 1, 397, 4971, 13, 149, 8753, 711, 2625, 22, 5727, 6353, 13, 2137, 7053, 7, 7177, 8329, 7505, 1891, 24, 4019, 7525, 7065, 4, 5213, 7, 1, 2603, 20, 5, 207, 6371, 9317, 6545, 1371