Together Pam, Dan and Sam have 31.00. How many dollars does Sam have if Dan has 3.00 less than Pam, and Sam has 1.00 more than pam and dan combined?