A salesperson at an electronic store is given a choice of two different compensation plans. Plan A pays him a weekly salary of $250 plus a commission of $25 for each stereo sold. Plan B offers no salary but pays $50 commission on each stereo sold. How many stereos must the salesperson sell to make the same amount of money with both plans?