A teacher is organizing her school supplies. She noticed that for every 2 pencils she has, she has 7 pens. If she has 35 pens, how many pencils does she have?