Task: Program Execution
Input (English): h 1447 1291 d o 1587 b 5053 4123 3427 5839 Y x 1837 T 8005 C 9847 5513 7687 57 L 7315 r 8361 8871 i 7023 C 2987 X y D
Output (English): 8, 1447, 1291, 4, 15, 1587, 2, 5053, 4123, 3427, 5839, 25, 24, 1837, 20, 8005, 3, 9847, 5513, 7687, 57, 12, 7315, 18, 8361, 8871, 9, 7023, 3, 2987, 24, 25, 4