Andrew has pencils and erasers. The ratio of the number of his pencils to the number of erasers is 2:6. If Andrew has 36 erasers how many pencils does Andrew have?