Solve for H A=LWH