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 table_name_82 (district VARCHAR, party VARCHAR, result VARCHAR)
### Question:
Which District has a Party of republican and a Result of lost re-election democratic gain?
### Answer:
SELECT district FROM table_name_82 WHERE party = "republican" AND result = "lost re-election democratic gain"