Can someone correct me if I am wrong.
For example,
43 kJ work energy has been done on the system, sign convention is +43kJ, because work is entering into the system
62 kJ work energy has been generated from the system, sign convention is -62kJ, because work is entering out of the system
21 kJ of heat energy supplied to the system from its surroundings, sign convention is +21kJ, because heat energy is entering into the system.
I apologize for my unclear phrasing. The actual question is here:
I got mixed up with the sign convention.