Task: Program Execution
Input (English): 8717, 5437, l, 8573, r, k, B, w, 4123, 4471, 5169, D, 3975, 6581, z, 41, X, 5057, i, 8153
Output (English): 60297