A factory owner wants to purchase two types of machines, $A$ and $B$, for his factory. The machine $A$ requires an area of $1000 m^2$ and $12$ skilled men for running it and its daily output is $ 50$ units, whereas the machine $B$ required $1200m^ 2$ area and $8$ skilled men, and its daily output is $40$ units. If an area of $7600 m^2$ and $72$ skilled men be available to operate the machine, how many machines $A$ and $B$ respectively should be purchased to maximize the daily output?