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