Locating any two vertices on Hamiltonian cycles