solve srm 525 and 582