Task: Program Execution
Input (English): 8097, q, 3929, x, 7119, 9011, 3521, 8999, 6151
Output (English): 8097, 17, 3929, 24, 7119, 9011, 3521, 8999, 6151