Task: Program Execution
Input (English): 3717, n, 8323, 6997, D, r, v, O, O, 8787, Z, W, v, 3595, 9465, 6073, 8755, 6575, 8893, 6799, 3765, 5291, 7243
Output (English): 3717, 14, 8323, 6997, 4, 18, 22, 15, 15, 8787, 26, 23, 22, 3595, 9465, 6073, 8755, 6575, 8893, 6799, 3765, 5291, 7243