Answer:
2835
Step-by-step explanation:
Simply observe, my foot.
Nah, if 3 is next to 8, and 2 is not by 3, that means it is either 382 or 283.
If 5 is not by 2, then it must be by the 3, since the 3 is on the other side and is the only location left.
You now have
5382 or 2835.
It is less than 5000, so it is the latter.