Original sentence: The successor states of the  Socialist Federal Republic of Yugoslavia (Bosnia and Herzegovina, Serbia, Montenegro, Former Yugoslav Republic Of Macedonia, Croatia, and Slovenia) have all adopted EU integration as an aim of foreign policy
Edited sentence: It had a good economy, and many citizens lived higher above the poverty line than those of member states Greece, Spain, and Portugal.The Socialist Federal Republic of Yugoslavia (which separated into the states of Bosnia and Herzegovina, Serbia, Montenegro, Former Yugoslav Republic Of Macedonia, Croatia, and Slovenia) was a socialist state.The war for independence changed this, but has led to break up into independent states, which have all adopted EU integration as an aim of foreign policy