qcats = {0:1871,1:2159,2:2534,3:2537,4:4629};