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