[lammps-users] middle particle in a molecule

HI,
I have 2 molecules such that 1 2 3 and 4 5 6.
there are harmonic bonds between 1 2
2 3
4 5
5 6

Which variable or array will give me middle particles(2 or 5 ) of a given molecule if i give the id of 1 or 3 or 4 or 5 .?
or which will give me middle particle ?

Thanks
Prathyusha

LAMMPS doesn't know anything about moleclues, just atoms and what
they are bonded to.

Steve