The amount of money that Pamela p has and Julie j has are related by the equation 3p+5=j. If Julie has $83, how much does Pamela have?