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