Subtraction from 1000, 10000 or 1000000 by Codes