The four digit number to be written is described as:
5 in the thousands place, which means the value of thousands place in the four digit number is [tex]5 \times 1000=5000[/tex].
5 is in the ones place, which means the value of units place in the four digit number is [tex]5 \times 1=5[/tex].
6 in the tens place, that implies that the value of tens place in the four digit number is [tex]6 \times 10 =60[/tex].
And, 4 is in the hundreds place, which implies that the value of hundreds place in the four digit number is [tex]4 \times 100=400[/tex].
So our four digit number is given by :
[tex]5000+400+60+1=5461[/tex]
So, the number was 5,461.