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_39 (nationality VARCHAR, apps VARCHAR, goals VARCHAR)
  ### Question:
  Where was the player born when the appearances were greater than 40 and made 17 goals?
  ### Answer:
  SELECT nationality FROM table_name_39 WHERE apps > 40 AND goals = 17