Fabian, Albert and Ian shared the cost of a gift. The ratio of Fabian's share to the total share of Albert and Ian was 1 : 5. The ratio of Albert's share to the total share of Fabian and Ian was 1 : 6. Albert's share was $253 less than Ian's share. How much did the gift cost?