Let A be the amount after n years of annual compounding at rate r of initial principal P.
A=P(1+r)n. Solving this for P we have
P=A/(1+r)n. The particular numbers for our case are
P=28,500/1.035=28500/1.159274074=24584.35035
Feel free to round as needed.