Julian, Ben and Oscar shared the cost of a present. The ratio of Julian's share to the total share of Ben and Oscar was 1 : 4. The ratio of Ben's share to the total share of Julian and Oscar was 1 : 7. Ben's share was $198 less than Oscar's share. How much did the present cost?