Merkel, Hollande, Putin welcome gas agreements