Task: Program Execution
Input (English): 8719, 5791, G, 7347, C, 37
Output (English): 2