Huong and Ariun are selling pies for a school fundraiser, customers can buy cherry pies and pumpkin pies. Huong sold 7 cherry pies and 5 pumpkin pies for a total of S177. Arjun sold 7 cherry pies and 6 pumpkin pies for a total of $197. What is the cost each of one cherry pie and one pumpkin pie?