CREATE TABLE table_name_18 (total INTEGER, fa_cup VARCHAR(255), club VARCHAR(255), league VARCHAR(255))
What is the average total of halifax town club, which has a league less than 30 and more than 3 FA cups?
    
SQL: SELECT AVG(total) FROM table_name_18 WHERE club = "halifax town" AND league < 30 AND fa_cup > 3