Task: Program Execution
Input (English): r, 9777, 657, Z, h, F, o, z, 1719, d, 2789, j, l, 1605, 901, U
Output (English): 17448