Task: Program Execution
Input (English): D J 2981 7597 2015 9277 k 3975 j 933 T p w z 477 7027 v 1691 3451 o 3807 y 5275 8483 u p 5005 Q 8743 1169 B p
Output (English): 4, 10, 2981, 7597, 2015, 9277, 11, 3975, 10, 933, 20, 16, 23, 26, 477, 7027, 22, 1691, 3451, 15, 3807, 25, 5275, 8483, 21, 16, 5005, 17, 8743, 1169, 2, 16