Task: Program Execution
Input (English): r X m M 9175 h X b C 7549 n 625 7781 5805 u n Q 7121 2557 5987 i c 4741 j c 2027 6243 D V 4199 4449
Output (English): 18, 24, 13, 13, 9175, 8, 24, 2, 3, 7549, 14, 625, 7781, 5805, 21, 14, 17, 7121, 2557, 5987, 9, 3, 4741, 10, 3, 2027, 6243, 4, 22, 4199, 4449