Sam opens a money-market account that pays 4% simple interest. He started with 7,000 and made no further deposits. He closed the account and he had earned 1,400. How long did he have the account