Sam opened a money-market account that pays 3% simple interest. He started the account with $7,000 and made no further deposits. When he closed the account, he had earned $420 in interest. How long did he keep his account open?