rankA+rankB