Task: Program Execution
Input (English): 3739, 2345, 3901, 6103, X, 2259, p, 3179, 7967, u
Output (English): 3739, 2345, 3901, 6103, 24, 2259, 16, 3179, 7967, 21