Task: Program Execution
Input (English): F, 3925, G, F, C, O, X, Q
Output (English): 7