Task: Program Execution
Input (English): 3225 8509 C N 2223 B R b B O 1477 1471 97 D 6585 3745 c 7589 t X 2795 1057 H 4607 J
Output (English): 3225, 8509, 3, 14, 2223, 2, 18, 2, 2, 15, 1477, 1471, 97, 4, 6585, 3745, 3, 7589, 20, 24, 2795, 1057, 8, 4607, 10