they were walking slowly on the side of the road , neither of them particularly aware of their surroundings , and were surprised when a dog belonging to three teenage girls came up and greeted them excitedly .