There are 324 table tennis balls in the school, which are distributed to the fourth, fifth and sixth grades. There are 6 classes in each grade. How many balls are allocated to each class on average?
学校有324个乒乓球，分给四、五、六年级，每个年级有6个班，平均每个班分得多少个？
<result>16</result>