Three friends, David, Emily, and Frank, compare their heights. David tells his height to Emily and Frank, but Emily and Frank do not share their heights with anyone. Emily says, "I am not the shortest among the three of us." Frank says, "I am not the tallest among the three of us." Assuming their heights are distinct, what is the ranking of the three friends from tallest to shortest?
David, Emily, Frank
David, Frank, Emily
Emily, David, Frank
Emily, Frank, David
Frank, David, Emily