Mariah knows that 50% of sixth graders in her school have dogs. There are 45 sixth graders who have dogs. How many sixth graders attend Mariah's school.