What are the names of countries that border southeastern Poland?

Two countries stretch along Poland's southeast borders. Ukraine, to the east, and Slovakia, to the south, meet at Poland's southernmost province, Subcarpathian Voivodeship, in southeastern Poland.