Stan invested $ 5,000 , part at 8 % and part at 17 % . If the total interest at the end of the year is $ 490 , how much did he invest at 8 %?