The isotopic composition of cosmic rays with Z between 5 and 26