Task: Program Execution
Input (English): 3879, q, d, 5647, 9765, 7993, 2823, d, 2709, H, 1791, C
Output (English): 3879, 17, 4, 5647, 9765, 7993, 2823, 4, 2709, 8, 1791, 3