Find the smallest number that should be subtracted from 2579 to make it divisible by both 3 and 9.
Find the smallest number that should be added to 1727 to make it divisible by 3.