A candidate was asked to find $7/8$th of a positive number; he found $7/18$th of the same by mistake. If his answer was $770$ less than the correct one, then the original given number was