Task: Program Execution
Input (English): 7887, 6353, 9489, j, c, 3645, 5827, X, f, 1965, 6701, D
Output (English): 41867