Sort the 5 words into a logical order according to the Capital City example.
Input: Canada, Ottawa, United, States, Washington
United, States, Washington, Canada, Ottawa.
Canada, United, States, Washington, Ottawa