Flynn, Luis and Cole shared the cost of a souvenir. The ratio of Flynn's share to the total share of Luis and Cole was 1 : 5. The ratio of Luis's share to the total share of Flynn and Cole was 1 : 6. Luis's share was $276 less than Cole's share. How much did the souvenir cost?