Divide $40$ to $4$ parts such that every number from $1-40$ can be realized

How can you divide $40$ to $4$ parts such that every number from $1-40$ can be realized just by adding or subtracting those $4$ parts?

-
See the balanced ternary number system. –  Marc van Leeuwen Dec 13 '12 at 12:41