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