Peter, Riordan and Michael shared the cost of a souvenir. The ratio of Peter's share to the total share of Riordan and Michael was 1 : 2. The ratio of Riordan's share to the total share of Peter and Michael was 1 : 6. Riordan's share was $32 less than Michael's share. How much did the souvenir cost?