Task: Program Execution
Input (English): 3845, 131, 51, X, 807, h, 151, v, o, 301, s
Output (English): 3845, 131, 51, 24, 807, 8, 151, 22, 15, 301, 19