In a class, the ratio of the number of boys to the number of girls was 1 : 2. After 3 girls were transferred to another class, the ratio became 3 : 5. <hr> There were <input min="0" type="number" id ="imp5pg104q6_1" class="lineinput" placeholder="?" /> boys in the class.