adding 70 and 90 numbers algorithm