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