print nTotalSpin