Oil will end 2017 higher than $50 a barrel