If you have to write a taweez with the value of 789 so after deducting 30 and dividing it by 4 you will get 189 and a remainder value of 3. This 3 will be added to the box number 6 to complete the taweez.
This is an Atishe methodology taweez and by adding 1 to its 6thh box I have written 165 to complete it. Generally such taweez that have remainders do not add up to the same amount from all sides so they are called Nakis
Remember me in your prayers,