A two digit number is 18 less than the square of the sum of its digits. How many such numbers are there? How many total numbers of seven digit numbers can be formed having a sum of whose digit is even?