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