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