Because the gross profit of store B is not lower than that of 950 yuan, we have to.
27(35-x)+36(25-y) is greater than or equal to 950,
x+y=30
From the above two equations, it can be concluded that x is greater than or equal to 20.55, and it is an integer, so X = 2 1 and Y = 9. Total gross profit is
2 1*30+9*40+27* 14+36* 16= 1944