Answer
Yes. They are same.
Work Step by Step
In fact, the energies are same at any point in the time of common flight. Because, the object thrown up has as much kinetic energy as the other has potential energy. So, the total mechanical energy is constant, which is true for any point of time the two objects are at the same height.