There are 7 baskets on the table. Each basket has 0, 18, 1, 5, 7, 12 and 17 apples. Noah chose first, John chose seventh, Emma chose sixth, Matt chose fourth, Sean chose third, Liam chose second, and Olivia chose fifth. Who chose the basket with the least apples?