Amie is selling some brownies at a bake sale. She has sold 5 times as many brownies as the number remaining. After Amie sells one more brownie she will have sold 6 times as many brownies as the number remaining. How many brownies did Amie have to start?