As S corp, how to deal with LTCG,LTCL,STCG,STCL?

can we net long-term capital losses against short-term capital gains? Thanks a lot.