Task: Program Execution
Input (English): w 4303 4787 D d 5813 3553 D J 1671 8703 J 3417 4901 G 3215 a 6011 J 7615 U A S 8389 3531
Output (English): 23, 4303, 4787, 4, 4, 5813, 3553, 4, 10, 1671, 8703, 10, 3417, 4901, 7, 3215, 1, 6011, 10, 7615, 21, 1, 19, 8389, 3531