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 Product_Suppliers ( supplier_id VARCHAR, total_amount_purchased INTEGER )

### Question ###
Find the id of suppliers whose average amount purchased for each product is above 50000 or below 30000.

### Accurate SQL ###

SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id HAVING AVG(total_amount_purchased) > 50000 OR AVG(total_amount_purchased) < 30000