You had 26 bags with equal number of cookies. If you had 15 candies and 52 cookies in total How many cookies does each bag have?