Instruct: What is the average number of ties for the Detroit Lions team when they have fewer than 5 wins, fewer than 3 losses, and a win percentage of 0.800?
Output: SELECT AVG Ties FROM table WHERE Losses < 3 AND Wins < 5 AND Win Pct. = 0.800 AND Team = detroit lions