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