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 table_name_37 (first_elected INTEGER, party VARCHAR, district VARCHAR)
  ### Question:
  In what year was the republican incumbent from Kentucky 2 district first elected?
  ### Answer:
  SELECT SUM(first_elected) FROM table_name_37 WHERE party = "republican" AND district = "kentucky 2"