Will, Tommy and Lee shared the cost of a present. The ratio of Will's share to the total share of Tommy and Lee was 1 : 5. The ratio of Tommy's share to the total share of Will and Lee was 1 : 6. Lee's share was $242 more than Will's share. How much did the present cost?