Task: Program Execution
Input (English): 5471 235 b e 7165 T 9241 3435 2991 r R 4039 4183 5249 D 2811 S l 5031 j 4721 1485 7969 c 7405 I 1057 I D A 4259 8165 3337 p U 2193 A
Output (English): 5471, 235, 2, 5, 7165, 20, 9241, 3435, 2991, 18, 18, 4039, 4183, 5249, 4, 2811, 19, 12, 5031, 10, 4721, 1485, 7969, 3, 7405, 9, 1057, 9, 4, 1, 4259, 8165, 3337, 16, 21, 2193, 1