Task: Program Execution
Input (English): S, 8641, 5343, 447, 2313, 7151, 3071, 8923, U, 8113, I, j, C, K, D, S, 9815, q, 1683, 8311
Output (English): 63811