The dynamics of COVID-19 with quarantined and isolation