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