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