Let N be the number of grams of the salt in the bin. Consider the number N+7. From the condition, the number N+7 is divisible by 10 and gives the remainder 4+7 = 11 equivalent to 2 when divided by 9. The smallest positive integer N+7 with such properties is 20, i.e. N = 20-7 = 13. The next such integer N+7 is 20+90 = 110, i.e. N = 103. The general formula for N is N = 13 + 90k, where k = 0, 1, 2, 3, . . .