Task: Program Execution
Input (English): I 8267 7579 6693 3585 q 117 R d y h t 4315 m q 6779 5137 9573 Q 5701 587 6673 R l d 1053 3283 S 4035 3113 9061 C
Output (English): 9, 8267, 7579, 6693, 3585, 17, 117, 18, 4, 25, 8, 20, 4315, 13, 17, 6779, 5137, 9573, 17, 5701, 587, 6673, 18, 12, 4, 1053, 3283, 19, 4035, 3113, 9061, 3