The Waring rank of the sum of pairwise coprime monomials