Photo of Medvedev outlasts Thiem in three sets to lift ATP Finals title