Mr. Yushchenko , with just under 40 percent support , edged out Prime Minister Viktor Yanukovych by a half of percentage point in the first round of voting on October 31 .