path in list of numbers