Task: Program Execution
Input (English): 99, A, r, 3627, U, 297
Output (English): 99, 1, 18, 3627, 21, 297