Rita bought some large packets of salt weighing 500grams each and some small packets of salt weighing 200 grams each. If she has 8 packets altogether and they weigh 2200 grams in total, how many of each kind does she have?