For three consecutive years, Sam invested some money at the start of the year. The first year, he invested x dollars. The second year, he invested $2,000 less than 5/2 times the amount he invested the first year. The third year, he invested $1,000 more than 1/5 of the amount he invested the first year. During the same three years, Sally also invested some money at the start of every year. The first year, she invested $1,000 less than 3/2 times the amount Sam invested the first year. The second year, she invested $1,500 less than 2 times the amount Sam invested the first year. The third year, she invested $1,400 more than 1/4 of the amount Sam invested the first year.If Sam and Sally invested the same total amount at the end of three years, the amount Sam invested the first year is $_____
and the amount Sally invested the last year is $______. (Fill in the blanks)