A library buys 36 English books, 48 Science books and 72 Mathematics books. The thickness of each book is the same. Now, the librarian wants the books to be placed in stacks, such that each stack has books of the same subject, and the height of each stack is the same. Also, the librarian wants as few stacks as possible. How many stacks of books will there be?