Instruct: What is teh average rank of the city of mashhad, which had less than 667770 in 1976?
Output: SELECT AVG Rank FROM table WHERE City = mashhad AND 1976 < 667770