Task: Program Execution
Input (English): g, o, 3447, 7419, 9889, c, 6785, d
Output (English): 4