The Czech Republic snatched victory from the jaws of defeat on Tuesday to stay alive at the EuroBasket Women while condemning Ukraine to a third straight loss to end their stay in Latvia.
The Czechs trailed by as many as 16 points and repeatedly found themselves playing catch-up but captured a 79-77 win in the last seconds.
Spain overcame some nervous moments in the first half and blew out Ukraine for their second win of the EuroBasket Women in Liepaja.
Evaristo Perez's team prevailed 85-59 and will now take on undefeated Slovakia to determine the winner of Group A.
Ukraine and the Czech Republic will battle it out on Tuesday for the final Qualifying Round spot from Group A with both sides still winless.
The Czechs, gold-medal winners at the EuroBasket in Turkey four years ago, followed their opening defeat to Spain with a 65-58 loss to Slovakia.
Underdogs Ukraine know they will need a drastic improvement on their opening game defeat to Slovakia if they are to progress in the EuroBasket Women.
Thrashed by 22 points, Olexandra Gorbunova and Co on Monday go up against a Spain team that struggled to beat the Czech Republic.
Palace of Sports
1, Sports Square, 01001 Kiev, UKR
+380 (44) 2398608
+380 (44) 2309225
President: Oleksandr Volkov
Secretary General: Oleksandr Larin