user: Question: what is the average foreign imports s tone when the total s tone is 3157247 and the foreign exports s ton is less than 358493?
Columns: ['Year', 'U.S. Rank', 'Total s Ton', 'Domestic s Ton', 'Foreign Total s Ton', 'Foreign Imports s Ton', 'Foreign Exports s Ton']
Types: ['real', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: [2006.0, 102.0, 2926536.0, 2306192.0, 620344.0, 464774.0, 155570.0]
SQL:

assistant: SELECT AVG("Foreign Imports s Ton") FROM "Table" WHERE "Total s Ton" = 3157247.0 AND "Foreign Exports s Ton" < 358493.0;