Task: Program Execution
Input (English): 3685, S, U, 8413, b, 7707, U, 9165, 9101, j, W, K, m, r, o, 8323, A, 353, 3799, 3183
Output (English): 53729