Task: Program Execution
Input (English): 3927, g, D, Q, 4957, f, 1091, 3335, 5909, 8457, 3007, 1249
Output (English): 3927, 7, 4, 17, 4957, 6, 1091, 3335, 5909, 8457, 3007, 1249