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