Janet bought same bars of choclate to share equally with her friends. she bought between 35 and 50 bars altogether. if she shares the bars of chocolate equally with 7 friends, she will have 7 bars left over. If she shares the bars equally with 6 friends she will have 5 bars left over. How many bars of chocolate did she buy?
a.47
b.45
c.46
d.48