Which country does Guyana have diplomatic relation with where the population is 366690?
SELECT ?answer WHERE { wd:Q734 wdt:P530 ?answer . ?answer wdt:P1082 ?x FILTER(contains(?x,'366690.0'))}
guyana: Q734