Task: Program Execution
Input (English): 1723, G, 7105
Output (English): 2