Oil gains on Putin comments