CREATE TABLE table_name_71 (goals_for INTEGER, played VARCHAR(255), position VARCHAR(255), losses VARCHAR(255))
What is the highest amount of goals in the position after 8, 12 losses, and played less than 30 games?
    
SQL: SELECT MAX(goals_for) FROM table_name_71 WHERE position > 8 AND losses = 12 AND played < 30