Medvedev wins the Doha tournament