A whole number between 100 and 1000 is to be formed so that one of the digits is 6, and all the digits are different. How many numbers are possible.