Task: Program Execution
Input (English): J 6477 W u b 5193 B 4167 4037 5893 8355 Z 501 5867 r u u 8963 F 9209 M Y U R i n F 2647 W r U S d v 43 d 8825 V 7079 7939
Output (English): 10, 6477, 23, 21, 2, 5193, 2, 4167, 4037, 5893, 8355, 26, 501, 5867, 18, 21, 21, 8963, 6, 9209, 13, 25, 21, 18, 9, 14, 6, 2647, 23, 18, 21, 19, 4, 22, 43, 4, 8825, 22, 7079, 7939