Mrs.Smith brought pencils for her students as a gift.If there are 21 students in her class and each pencil cost $0.74,What was the total cost of the pencils?