Task: Program Execution
Input (English): 7151 C B p 3569 6991 u y 1851 U h 7985 1117 D P E 8301 z 1637 Z p 8519 4187 5007 g
Output (English): 7151, 3, 2, 16, 3569, 6991, 21, 25, 1851, 21, 8, 7985, 1117, 4, 16, 5, 8301, 26, 1637, 26, 16, 8519, 4187, 5007, 7