If you had 4 bags with equal number of cookies and 36 cookies in total How many cookies does each bag have?