PROGRAMMING:[nested loop]] [-- fat beard's four digit B --]
On a sunny day, fat beard had a delicious lunch and began to dream when he was lying on the rocking chair. Shakespeare said: "the day has a thought, the night has a dream". In ordinary days, fat beard is bored to death by the ever-changing numbers. He dreams that there is only a magic four digit number left in the world, which makes the world simpler!
For a magic four digit ABCD, the sum of its thousand and hundred digits is exactly equal to ten digits, that is, a + B = C, and the sum of its hundred and ten digits is exactly equal to one digit, that is, B + C = D.
For example: 2358. 2 + 3 = 5 and 3 + 5 = 8. So 2358 is a magic four digit number.
It's said that you are a good programmer. Come and help fat beard find out all the four digit numbers..
###Input format:
There is no input data item in the common test data.
###Output format:
From small to large output all meet the conditions of magic four digits. Four digits in a row.
```in
```
```out
```
answer:If there is no answer, please comment
For a magic four digit ABCD, the sum of its thousand and hundred digits is exactly equal to ten digits, that is, a + B = C, and the sum of its hundred and ten digits is exactly equal to one digit, that is, B + C = D.
For example: 2358. 2 + 3 = 5 and 3 + 5 = 8. So 2358 is a magic four digit number.
It's said that you are a good programmer. Come and help fat beard find out all the four digit numbers..
###Input format:
There is no input data item in the common test data.
###Output format:
From small to large output all meet the conditions of magic four digits. Four digits in a row.
```in
```
```out
```
answer:If there is no answer, please comment