a ) If 1231 gains exceed the 1231 losses then all the gains and all the losses are capital. The travel together. They're either all capital or all ordinary. Never a split.