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