Task: Program Execution
Input (English): 7797 U 3575 3633 m 8657 h 9005 R Q 2355 5461 x M 719 R 6527 4223 V s I 8887 6993 A M 1141 6713 L 1213 P 9805 1115 7759 b E 6243 9809
Output (English): 7797, 21, 3575, 3633, 13, 8657, 8, 9005, 18, 17, 2355, 5461, 24, 13, 719, 18, 6527, 4223, 22, 19, 9, 8887, 6993, 1, 13, 1141, 6713, 12, 1213, 16, 9805, 1115, 7759, 2, 5, 6243, 9809