Task: Program Execution
Input (English): G, 9627, A
Output (English): 2