Task: Program Execution
Input (English): e q V 7391 B 6165 E 7819 5201 3627 w B 4739 t T 3645 1679 n D 9009 963 L 4999 M 2303 8273 6491 I 4639 a K m F 8237 7551 U c 7777
Output (English): 5, 17, 22, 7391, 2, 6165, 5, 7819, 5201, 3627, 23, 2, 4739, 20, 20, 3645, 1679, 14, 4, 9009, 963, 12, 4999, 13, 2303, 8273, 6491, 9, 4639, 1, 11, 13, 6, 8237, 7551, 21, 3, 7777