qcats = {0:1822,1:2278,2:2808,3:10637};