Task: Program Execution
Input (English): D, 4141, F, 6709, I, 6751, C, G, 687
Output (English): 2, 4, 6, 9