Only the first is possible if talking about people.
The second is possible, but not as natural, if talking about an object. Like, "There should be no problem installing the new refrigerator. Both it and the old one have the same height."
- For Teachers