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