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