Task: Program Execution
Input (English): F 5889 4877 9703 K 7657 Y M E u 3509 7305 M 729 e T 7095 89 2683 R 9947 1893 a 4951 R 3115 4731 1497 d 4083 G H 7 5067 1753 h 5975
Output (English): 6, 5889, 4877, 9703, 11, 7657, 25, 13, 5, 21, 3509, 7305, 13, 729, 5, 20, 7095, 89, 2683, 18, 9947, 1893, 1, 4951, 18, 3115, 4731, 1497, 4, 4083, 7, 8, 7, 5067, 1753, 8, 5975