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