Ruth has 7 more brown pencils than blue pencils, and 11 more blue pencils than red pencils. She has 5 red pencils. How many brown, blue, and red pencils does Ruth have in all?