Consider seven digit number x1,x2,.......x7 , where x1,x2,.......x7,≠0 having the property that x4 is the greatest digit and all digits towards the left and right of x4 are in decreasing order. Then total number of such number in which all digits are distinct is a, then find the sum of digits of a.