At a pet show 17 people bought their pets. 9 of them were dogs. What fraction of the pets were dogs?