Task: Program Execution
Input (English): P, 521, 5667, 125, 9875, u, L, n, G, 4071, 8201, 4009, h, 8881, 1521, U, f, 7719
Output (English): 50590