Task: Program Execution
Input (English): 2105 h 2769 8309 9003 t U 1993 2859 3295 t T 8943 7385 1667 d 7453 D A d J h V F x f 4003 8121
Output (English): 2105, 8, 2769, 8309, 9003, 20, 21, 1993, 2859, 3295, 20, 20, 8943, 7385, 1667, 4, 7453, 4, 1, 4, 10, 8, 22, 6, 24, 6, 4003, 8121