Task: Program Execution
Input (English): d 2267 A 6837 f 543 h 471 1141 k u r 1747 8185 T v 7993 w 6149 E J A N 3277 4075 B p 6523 3029 9597 u 5505 l p b r 1533 4895 4509 2275
Output (English): 4, 2267, 1, 6837, 6, 543, 8, 471, 1141, 11, 21, 18, 1747, 8185, 20, 22, 7993, 23, 6149, 5, 10, 1, 14, 3277, 4075, 2, 16, 6523, 3029, 9597, 21, 5505, 12, 16, 2, 18, 1533, 4895, 4509, 2275