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