In a certain city there are n straight streets, such that every two streets intersect, and no three streets pass through the same intersection. The City Council wants to organize the city by design...

How many numbers are there between 100 and 1000 , which have exactly one of their digits as 7 ?