Three children, Ashu, Yacob, and Safina who stay in an orphanage in Bangalore get apples for Christmas. each gets at least one apple. Safina has more apples than Yacob, who has more than Ashu. Together, the total number of apples the three people have is 12. How many apples does Yacob have?
(1) Safina has no more than 5 apples more than Ashu.
(2) The product of the numbers of apples that Ashu, Yacob, and Safina have is less than 36.