The box contains 10 tablets of medicine A and 15 tablets of medicine B. N tablets are taken from the box at random. What is the least possible N that ensures that at least two tablets of each kind are among the extracted?

The box contains 10 tablets of medicine A and 15 tablets of medicine B. N tablets are taken from the box at random. What is the least possible N that ensures that at least two tablets of each kind are among the extracted?