Task: Program Execution
Input (English): 9197, G, V, l, g, 4977, d, F
Output (English): 2