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 
 .
.
5 is in the ones place, which means the value of units place in the four digit number is 
 .
.
6 in the tens place, that implies that the value of tens place in the four digit number is 
 .
.
And, 4 is in the hundreds place, which implies that the value of hundreds place in the four digit number is 
 .
.
So our four digit number is given by : 

So, the number was 5,461.