Task: Program Execution
Input (English): a, 8395, 6979, 7115, 5925, N, i, J, U
Output (English): 28414