Two more for seven people and eight people.
Then I'll take two more books and then divide them, whether it's seven or eight people.
In other words, the total number of books minus 2 is the common multiple of 7 and 8.
Common multiples of 7 8 are 0 and 56 (note that it is less than 60).
So the total number of books is 2 or 2+56=58.
Thanks for adoption