Task: Program Execution
Input (English): 6851, G
Output (English): 1