Task: Program Execution
Input (English): I 4571 8127 9675 9573 l Z 2297 3223 N 939 j 9783 9331 V 8591 j 5409 n 8501 N x p 4201 M 1905 8977 F z w G
Output (English): 9, 4571, 8127, 9675, 9573, 12, 26, 2297, 3223, 14, 939, 10, 9783, 9331, 22, 8591, 10, 5409, 14, 8501, 14, 24, 16, 4201, 13, 1905, 8977, 6, 26, 23, 7