Liam, Ethan and Xavier shared the cost of a souvenir. The ratio of Liam's share to the total share of Ethan and Xavier was 1 : 5. The ratio of Ethan's share to the total share of Liam and Xavier was 1 : 7. Ethan's share was $42 less than Xavier's share. How much did the souvenir cost?