Find both visits to the market
List.indexOf and List.lastIndexOf
List.indexOf and lastIndexOf
list.index and reverse search
Array#index and Array#rindex