Pierre, Simon and Sam shared the cost of a gift. The ratio of Pierre's share to the total share of Simon and Sam was 1 : 2. The ratio of Simon's share to the total share of Pierre and Sam was 1 : 4. Simon's share was $44 less than Sam's share. How much did the gift cost?