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 (rank INTEGER, built VARCHAR, building VARCHAR)
  ### Question:
  What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest?
  ### Answer:
  SELECT SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = "howard johnson hotel bucharest"