(r+l)/2