Task: Program Execution
Input (English): 5085 4161 4191 X 7935 l R h O 763 X 4657 8543 9419 r S 215 A 1601 7033 1789 P 6875 2871 n 4573 j 1955 f e 5401 5127
Output (English): 5085, 4161, 4191, 24, 7935, 12, 18, 8, 15, 763, 24, 4657, 8543, 9419, 18, 19, 215, 1, 1601, 7033, 1789, 16, 6875, 2871, 14, 4573, 10, 1955, 6, 5, 5401, 5127