answer for test1.txt with goodness = 1106 (SA)