Three-digit numbers where the middle digit is a perfect square are formed using the digits 1 to 9. What is the sum of these numbers?
a) 26,481
b) 21,564
c) 18,729
d) 15,692