what was the average rank for the team that had more than 5 medals and more than 6 gold medals?
none