Daniil Medvedev found the recipe for success