how many numbers of 7 digits can be formed from the digits 1,2,3,4,5,6,7 if there are not more than 2 digits between 1 and 2?