Task: Program Execution
Input (English): m 1765 A 9993 2991 z I y n 231 741 6663 w q 6889 L 4673 5007 8347 M 175 3715 M H 627 6457 l
Output (English): 13, 1765, 1, 9993, 2991, 26, 9, 25, 14, 231, 741, 6663, 23, 17, 6889, 12, 4673, 5007, 8347, 13, 175, 3715, 13, 8, 627, 6457, 12