Following the poem, the first step in solving this was to take find the top-level domain of each country whose flag was shown. They’re shown below.

Plotting the sequences above - on a periodic table instead of a map - gives the following:

The paths, in order, spell WORLD.