Task: Program Execution
Input (English): A 8373 w 2243 a p T 8601 7999 3143 B s 3477 3711 6585 M N g N 4921 8687 p Q V i 3639 2101 f 4399 U l g 8941 K 8081
Output (English): 1, 8373, 23, 2243, 1, 16, 20, 8601, 7999, 3143, 2, 19, 3477, 3711, 6585, 13, 14, 7, 14, 4921, 8687, 16, 17, 22, 9, 3639, 2101, 6, 4399, 21, 12, 7, 8941, 11, 8081