In a class, $$\frac{1}{3}$$ of the pupils needed glasses. Then, 3 pupils who needed glasses were transferred out of the class and the fraction of the pupils who needed glasses dropped to $$\frac{1}{4}$$. <br>How many pupils were there in the class in the end? <hr> There were <input min="0" type="number" id ="imp5pg063q10_1" class="lineinput" placeholder="?" /> pupils in the class at the end.