Task: Program Execution
Input (English): N, 7775, G
Output (English): 14, 7775, 7