add two scripts for quad sum equal solution