solve srm578