A boy throws a ball into air at $45^{\circ}$ from the horizontal to land it on a roof of a building of height $H$. If the ball attains maximum height in 2 s and lands on the building in 3 s after launch, then value of $H$ is
$\_\_\_\_$ m. $\left(\mathrm{g}=10 \mathrm{~m} / \mathrm{s}^2\right)$