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