What country is costa rica in?

Costa Rica is its own country. It is not "in" a country.