Let the notation ABC denote the number compromised of the digits A, B, and C with 0≤A,B,C≤9. That is, ABC=100A+10B+C and CCAAC=10000C+1000C+100A+10A+C. Now, if (ABC)2=CCAAC, where A, B, and C are distinct nonzero digits, find the 3 digit number ABC.