Evolution of flag countries