qcats = {0:1784,1:1875,2:1879,3:3663};