Task: Program Execution
Input (English): 5047 5847 8653 Y D 3351 u 273 X 1109 R 9861 Y 3555 V 9131 h R v 2269 9623 9855 2811 4787 y 5021 L j f
Output (English): 5047, 5847, 8653, 25, 4, 3351, 21, 273, 24, 1109, 18, 9861, 25, 3555, 22, 9131, 8, 18, 22, 2269, 9623, 9855, 2811, 4787, 25, 5021, 12, 10, 6