Instruct: What is the average weeks of a song with a larger than 3 position after 1977?
Output: SELECT AVG Weeks on chart FROM table WHERE Position > 3 AND Year > 1977