3. (20 points) In math class, each dwarf needs to find a three-digit number without zero digits, divisible by 3, such that when 297 is added to it, the result is a number with the same digits but in reverse order. What is the minimum number of dwarfs that should be in the class so that among the numbers they find, there are always at least two identical ones?