Task: Program Execution
Input (English): J, 5145, 8757, Q, t, 3989, a, M, s, 2189, r, V, U, w, v, r, K
Output (English): 20080