On Thursday , President Vladimir V. Putin of Russia said he was considering inviting Hamas , the winner of the Palestinian parliamentary elections on Jan. 25 , to Moscow for talks , and on Friday the Kremlin confirmed that it would do so .