Air with pressure of 100 kPa, temperature of 25A????1C, and negligible velocity enters a compressor

Air with pressure of 100 kPa, temperature of 25A????1C, and negligible velocity enters a compressor whose outlet conditions are 1 MPa and 347A????1C, with exit air velocity of 90 m/s. The shaft work input is 250 kW, but the compressor loses 1500 kJ/min of heat.
A) Find the mass flow rate
B) Find (delta)ke/(delta)h for the process (the point of this is to show that the KE change across the machine is very small and likely insignificant).