△ABC is an isosceles triangle in which AC=BC. AD andBE are respectively two altitudes to sides BC and AC. Prove that AE=BD.