Task: Program Execution
Input (English): 4123, F, d, 6451, F, 929, f, k, 287, 5211, V, 4107, G, C
Output (English): 8