text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  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.
  ### Answer:
  SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id HAVING AVG(total_amount_purchased) > 50000 OR AVG(total_amount_purchased) < 30000