form the first law of thermodynamics
dQ=dU+dW
work done is not completely zero but it's magnitude is very small so it can be neglected,or we can find it applying isobaric process.
Q=mSΔT
Q1=2×4200×273=2293200 J
Q2=2×4200×277=2326800 J
now ΔU=Q2−Q1=33600 J