Cody, Rael and Glen shared the cost of a present. The ratio of Cody's share to the total share of Rael and Glen was 1 : 3. The ratio of Rael's share to the total share of Cody and Glen was 1 : 5. Rael's share was $20 less than Glen's share. How much did the present cost?