What is closer Virginia or West Virginia to Maryland?

Both Virginia and West Virginia share a border with Maryland, so they are virtually equal distances away.