A local bakery sells two types of cookies: chocolate chip and oatmeal raisin. On a particular day, they sold a total of 240 cookies. The number of chocolate chip cookies sold was 40 more than twice the number of oatmeal raisin cookies sold. How many chocolate chip cookies were sold?