Two shots are fired simultaneously from the bottom and top of a vertical tower AB at angles γ and β with horizontal respectively. Both strike the same point C on the ground at a distance S from the bottom of the tower. What is the height of the tower?