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_43642 ( "Year" real, "U.S. Rank" real, "Total s Ton" real, "Domestic s Ton" real, "Foreign Total s Ton" real, "Foreign Imports s Ton" real, "Foreign Exports s Ton" real )

### Question ###
what is the average foreign imports s tone when the total s tone is 3,157,247 and the foreign exports s ton is less than 358,493?

### Accurate SQL ###

SELECT AVG("Foreign Imports s Ton") FROM table_43642 WHERE "Total s Ton" = '3,157,247' AND "Foreign Exports s Ton" < '358,493'