Task: Program Execution
Input (English): Q, o, r, D, 5987, V, q, 4823, 4807, o, 7145, d, 4259, H, I, J
Output (English): 27021