Hi all need help with this question. Thank you!

Mrs Nair baked a total of 1000 cookies for the pupil in her class. there were more boys than girls in the class. The number of cookies that each boy received was equal to the number of boys in the class, the number of cookies that each girl received was equal to the number of girls in the class. How many cookies did the boys received altogether?