What was the main purpose of the Monroe Doctrine?

a
To keep Europeans from imperializing the United States.
b
To warn European powers not to interfere in the countries of the Western Hemisphere
c
To warn European powers not to interfere in the countries of the Eastern Hemisphere.
d
To outline what would happen if European countries interfered with countries in the Western Hemisphere.