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