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