James bought a movie ticket and wants to pay for some friends.A ticket costs $6 and he has $38.How many friends can he pay for and how much money will he have left?