Task: Program Execution
Input (English): 5723, d, D, h, 7561, 7027, 6107, c, X, 4191, v, i, r
Output (English): 30609