Castel and Gabriella are selling cheesecakes for a school fundraiser. Customers can buy New York style cheesecakes and apple cheesecakes. Castel sold 14 New York style cheesecakes and 7 apple cheesecakes for a total of $301. Gabriella sold 7 New York style cheesecakes and 10 apple cheesecakes for a total of $274. Find the cost each of one New York style cheesecake and one apple cheesecake.