Consider the following multiplication in decimal system: $$999\times \mathrm{abc}=\mathrm{def123}$$ then find the value of digits $\mathrm{a,b,c,d,e\ and\ f}.$
Here $\mathrm{abc}$ means not $(a\times b\times c$), $\mathrm{abc}$ is a number of 3 digits decimal system (e.g. if $\mathrm{abc}=123$, then $ \mathrm{a=1,\ b=2,\ c=3}$).
The question is basically $$(1000-1)\times abc=abc000-abc=def123$$ $c=7$, $b=7$, $a=8$, which gives $d=8$, $e=7$, $f=6$
Here's how to do it: $$a\ b \ c \ 0 \ 0 \ 0 $$ $$-\ \ \ \ \ a\ b\ c $$ $$---------$$ $$\ d \ e\ f\ \ 1 \ 2 \ 3$$
Note that $0\leq a,b,c,d,e,f\leq9$