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