Corrected Good Number Solution