Sofía and her grandparents set up chairs and tables for her quinceanera, an important event celebrating her 15th birthday. The ratio of chairs to tables is 6 : 1. What is the total number of chairs they need for 18 tables?