# Flipped Perfect Square

Number Theory Level pending

$$a,b,c,d$$ are digits (not necessarily distinct) such that both the 5-digit integers $$\overline{aabcd}$$ and $$\overline{dcbaa}$$ are both perfect square with $$a, d \neq 0$$. Find the sum of all possible values of $$\overline{aabcd}$$.

×