Task: Text to Code
Input (English): Are the customers holding coupons with amount 500 bad or good?
Output (English): SELECT T1.good_or_bad_customer FROM customers AS T1 JOIN discount_coupons AS T2 ON T1.coupon_id  =  T2.coupon_id WHERE T2.coupon_amount  =  500