Alan, Ben and Simon had some storybooks in the ratio 10:3:5. Alan gave Ben and Simon a total of 76 storybooks so that all of them had the same number of storybooks. Find the total number of storybooks the boys had.

AAAaannndd the bot gets it wrong yet again!

They started out with 10x,3x,5x books, respectively
10x-76 = 3x+y = 5x+76-y
x=19, y=57, so they started out with 18*19 = 342 books
check:
190-76 = 114
57+57 = 114
95+19 = 114
OK!

152 storybooks