Primary 6 Problem sum

by Messy
(Singapore )

There were 1/3 as many girls as boys in the library. 21 girls left the library & 21 boys came into the library. In the end, there were 1/5 as many girls as boys in the library. How many boys were there in the library at first ??