BD is the altitude of right triangle ABC. If AD=3 and DC=12, what is the length of BD?