Enter a three-digit number to determine if it is a daffodil number