Total number of English books = 336
Total number of mathematics books = 240
Total number of science books = 96
∴ Number of books stored in each stack = HCF (336, 240, 96)
Prime factorization:
336 = 24 × 3 × 7
240 = 24 × 3 × 5
96 = 25 × 3
∴ HCF = Product of the smallest power of each common prime factor involved in the numbers = 24 × 3 = 48
Hence, we made stacks of 48 books each
Number of stacks = 336/48 + 240/48 + 96/48 = (7+5+2) = 14