A factory employs 200 men and 50 women. 80 of the men are each paid $100, the rest are paid $80 and the women are paid $50, what is the total wage bill.​