Can two children standing next to each other say the same number?
Yes. For example, let three consecutive children have heights 1, 3 and 4 units.
The child of height 1 has one taller neighbour, so says 1. The child of height 3 also has one taller neighbour (the child of height 4), so also says 1.