Hunter and Richard are selling cookie dough for a school fundraiser. Customers can buy packages of sugar cookie dough and packages of oatmeal cookie dough. Hunter sold 10 packages of sugar cookie dough and 14 packages of oatmeal cookie dough for a total of $152. Richard sold 4 packages of sugar cookie dough and 7 packages of oatmeal cookie dough for a total of $72. What is the cost each of one package of sugar cookie dough and one package of oatmeal cookie dough?