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