For a theromdynamic process ΔQ=−50 cal and ΔW=−20 cal. If the initial internal energy is −30 cal then, final internal energy will be