Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_name_40 ( points INTEGER, lost VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR )

### Question ###
How many points are there when they have under 27 goals scored, conceded 24 goals, and lost less than 6 times?

### Accurate SQL ###

SELECT SUM(points) FROM table_name_40 WHERE goals_scored < 27 AND goals_conceded = 24 AND lost < 6