First convert grams of water to moles of water, then use the equation
q =
n∆H
vaporisation