The outlet and plug type used in Ukraine are C and F and in Poland are C and E and they are compatible with each other.
In Poland, outlets of type C and E are in use.
In Ukraine, outlets of type C and F are in use.