Task: Program Execution
Input (English): p, A, 5129, s, b, 153, 5499, U
Output (English): 16, 1, 5129, 19, 2, 153, 5499, 21