Crowds packed the Ukrainian capital 's main square , waving flags and chanting Mr. Yushchenko 's name .