A bakery sells two types of cookies: chocolate chip and oatmeal raisin. The price of a chocolate chip cookie is $2 and the price of an oatmeal raisin cookie is $3. Last Saturday, the bakery sold a total of 80 cookies, and the revenue generated from cookie sales was $180. How many chocolate chip cookies did the bakery sell?