if i divides the GCD ( a , b ) , then find maximum of three numbers res , i and g / i
if ( g % i == 0 ) : NEW_LINE INDENT res = max ( res , max ( i , g / i ) ) ; NEW_LINE DEDENT i += 1 ; NEW_LINE return int ( res ) ; NEW_LINE