What is the smallest n-digit number that can be formed using only the digits 2, 5, and 7, with the condition that there are exactly n distinct n-digit numbers?

a) 222
b) 257
c) 522
d) 725