Wyślij wiadomość: Induced subgraph density. II. Sparse and dense sets in cographs