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