Joy writes a four-digit number on a piece of paper and let Sandy guess.  $\textasciitilde$  Sandy asks: "Is it $$6031$$?"  Joy says: "You guess $1$ digit correct and it\textquotesingle s in the correct place."  Sandy asks: "Is it $$5672$$?"  Joy says: "You guess $2$ digits correct and they\textquotesingle re in the wrong places."  Sandy asks: "Is it $$4796$$?"  Joy says: "You guess $4$ digits correct and they\textquotesingle re in the wrong places."  $\textasciitilde$  According to the conversation above, what number does Joy write? 
选项为:A:$$4967$$  B:$$9764$$  C:$$9647$$  D:$$6497$$  E:$$6947$$  请回答其中一个选项.