Task: Program Execution
Input (English): 3723, c, 921, l, 3861, 1941, L, 5269, 8659, r, H, 1147, s, 3331, 9743
Output (English): 38595