On a bus, the number of children was $$\frac{1}{7}$$ of the number of adults. After a child alighted from the bus and an adult boarded the bus, the number of children became $$\frac{1}{8}$$ of the number of adults. <hr> How many people were there on the bus? <br> <input min="0" type="number" id ="imp6pg056q10_1" class="lineinput" placeholder="?" />