Task: Program Execution
Input (English): F L 4731 s 2211 m I 8925 8187 U 7809 3915 8723 L 2565 8297 R 3983 n t 847 m 183 V 9785 c 1411 9087 j s 4493 a
Output (English): 6, 12, 4731, 19, 2211, 13, 9, 8925, 8187, 21, 7809, 3915, 8723, 12, 2565, 8297, 18, 3983, 14, 20, 847, 13, 183, 22, 9785, 3, 1411, 9087, 10, 19, 4493, 1