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