In right triangle ABC, we have AB = 10, BC = 20, and angle ABC = 90. If M is on AC such that BM is a median of triangle ABC, then what is cos ABM?