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