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