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