Risk wants transactions that are debits over 20,000 OR any transaction on the 1st or last 3 days of a month (day ≥ 28). Show txn_id, txn_date, amount and txn_type.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.