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"
context: CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR)