Complement of Base 10 Integer

Try to solve the Complement of Base 10 Integer problem.