Find the total number of ways in which a 3- digit number xyz can be formed from the digits 1,4,5,6,7,8and9 such x,y,z that are in A.P and x≠y≠z.