Kai has 18 Oreos. Her school is given 18 each. there are 27 kids in each class and 18 classes in middle school. How many Oreos are given?