There are 2 students in the class and they each have 18 pencils. How many pencils do they have in total?