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