The calculations were long enough that if you got the same answer at the end you were confident

Could you correct the punctuation please?
The calculations were long enough that if you got the same answer at the end, you were confident.