A, B, C, and D are four different digits. The number DCBA is equal to 4 times the number ABCD. What are the digits?

Note

To make ABCD and DCBA conventional numbers, neither A nor D can be zero.

Tip

Use a quadruple-nested loop.

Output

A line formatted as

DCBA = 4 * ABCD

where A, B, C and D are replaced by the digits that solve the conundrum.