Task: Program Execution
Input (English): D 7253 5667 Q C 511 D 8181 Y B 7731 Z m 345 C 2869 b 6669 A u c 9837 W j q H
Output (English): 4, 7253, 5667, 17, 3, 511, 4, 8181, 25, 2, 7731, 26, 13, 345, 3, 2869, 2, 6669, 1, 21, 3, 9837, 23, 10, 17, 8