Which of the following represents five hundred four thousand, forty-seven written in expanded form?