Problem 3. In a right triangle $ABC$ with a right angle at $C$, the bisector $BD$ and the altitude $CH$ are drawn. A perpendicular $CK$ is dropped from vertex $C$ to the bisector $BD$. Find the angle $HCK$, if $BK: KD=3: 1$.