how many episodes of the resident season 1