Subtract multiples of 10 from numbers