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