Eugene has 51 pencils. He gives 6 to Joyce. How many pencils does Eugene have in all?